diff --git a/monkey/infection_monkey/utils.py b/monkey/infection_monkey/utils.py index d138f85ed..635f2360d 100644 --- a/monkey/infection_monkey/utils.py +++ b/monkey/infection_monkey/utils.py @@ -32,5 +32,6 @@ def is_windows_os(): def utf_to_ascii(string): + # Converts utf string to ascii. Safe to use even if string is already ascii. udata = string.decode("utf-8") - return udata.encode("ascii", "ignore") \ No newline at end of file + return udata.encode("ascii", "ignore")