Commit 59eb2107 authored by Kathryn Elliott's avatar Kathryn Elliott

Convert path to a string. It turns out python 3.5 doesn't like it.

parent fe6274be
......@@ -295,7 +295,7 @@ class TopicModel:
path = self._persistance.csv_file_path(topic_id)
self._logging.info("Exporting documents for topic {0} to: {1}".format(topic_id, path))
with open(path, 'w', newline='') as csvfile:
with open(str(path), 'w', newline='') as csvfile:
writer = csv.DictWriter(csvfile, fieldnames=fields, delimiter="\t")
writer.writeheader()
......
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