Fix err undefined exception.
This commit is contained in:
parent
b7444dd9b0
commit
dbdec516b9
@ -72,7 +72,7 @@ def find_folder( filename):
|
||||
try:
|
||||
if os.path.isdir(filename):
|
||||
return(filename)
|
||||
except UnicodeError:
|
||||
except UnicodeError as err:
|
||||
LOG.error("Filename %s raised a Unicode Error %s", repr(filename), err)
|
||||
|
||||
LOG.debug("Filename %s either not found or not a directory.",
|
||||
|
Loading…
Reference in New Issue
Block a user