This commit is contained in:
Miroslav Stampar
2019-03-13 16:49:41 +01:00
parent aecaa27839
commit 196ac25284
4 changed files with 12 additions and 8 deletions

View File

@@ -1810,6 +1810,10 @@ def normalizePath(filepath):
return retVal
def safeFilepathEncode(filepath):
"""
Returns filepath in (ASCII) format acceptable for OS handling (e.g. reading)
"""
retVal = filepath
if filepath and isinstance(filepath, unicode):