Skip to content
Snippets Groups Projects
Commit d1b71fdc authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: Ensure filename is a string rather than a Path

needed for python 3.5
parent ae8f0895
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ class FileTree(object):
file_variables = {}
with open(filename, 'r') as f:
with open(str(filename), 'r') as f:
for full_line in f:
# ignore anything behind the first #-character
line = full_line.split('#')[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment