Fixes #3234 (user entered input)

This commit is contained in:
Miroslav Stampar
2018-09-12 14:39:07 +02:00
parent a8c0722631
commit 16c052ef13
3 changed files with 4 additions and 4 deletions

View File

@@ -1179,7 +1179,7 @@ def checkFile(filename, raiseOnError=True):
try:
if filename is None or not os.path.isfile(filename):
valid = False
except UnicodeError:
except:
valid = False
if valid: