Minor drei update

This commit is contained in:
Miroslav Stampar
2019-05-02 17:35:56 +02:00
parent ff968c2331
commit 291b491c3e
9 changed files with 33 additions and 60 deletions

View File

@@ -1758,7 +1758,7 @@ def getFileType(filePath):
"""
try:
desc = magic.from_file(filePath) or ""
desc = getUnicode(magic.from_file(filePath) or "")
except:
return "unknown"