This commit is contained in:
Tim Bentley 2016-04-05 21:07:57 +01:00
parent 59e3603a3e
commit 31a2b37a88
2 changed files with 1 additions and 2 deletions

View File

@ -370,4 +370,4 @@ def clean_filename(filename):
"""
if not isinstance(filename, str):
filename = str(filename, 'utf-8')
return INVALID_FILE_CHARS.sub('_', CONTROL_CHARS.sub('', filename))
return INVALID_FILE_CHARS.sub('_', CONTROL_CHARS.sub('', filename))

View File

@ -168,4 +168,3 @@ def check_latest_version(current_version):
if remote_version:
version_string = remote_version
return version_string