Commit 72c5bf01 by Logan Rodie

Fixed issue with next_target_file being unicode and causing an exception

parent 720f770e
......@@ -415,7 +415,7 @@ class Module(object):
# Values in self.target_file_list are either already open files (BlockFile instances), or paths
# to files that need to be opened for scanning.
if isinstance(next_target_file, str):
if isinstance(next_target_file, str) or isinstance(next_target_file, unicode):
fp = self.config.open_file(next_target_file)
else:
fp = next_target_file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment