forked from openlp/openlp
pep8
This commit is contained in:
parent
59e3603a3e
commit
31a2b37a88
@ -370,4 +370,4 @@ def clean_filename(filename):
|
|||||||
"""
|
"""
|
||||||
if not isinstance(filename, str):
|
if not isinstance(filename, str):
|
||||||
filename = str(filename, 'utf-8')
|
filename = str(filename, 'utf-8')
|
||||||
return INVALID_FILE_CHARS.sub('_', CONTROL_CHARS.sub('', filename))
|
return INVALID_FILE_CHARS.sub('_', CONTROL_CHARS.sub('', filename))
|
||||||
|
@ -168,4 +168,3 @@ def check_latest_version(current_version):
|
|||||||
if remote_version:
|
if remote_version:
|
||||||
version_string = remote_version
|
version_string = remote_version
|
||||||
return version_string
|
return version_string
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user