Cosmetic changes

This commit is contained in:
VakarisZ 2018-11-12 16:23:01 +02:00
parent b42ff98f9f
commit fa8975706e
1 changed files with 2 additions and 1 deletions

View File

@ -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")
return udata.encode("ascii", "ignore")