Commit 9505915c authored by Kyle Anderson's avatar Kyle Anderson

Fix data handler writing

The data handler was writing the wrong way. I was still using the file.write method, even though pickle.dump does the job on its own, so once I removed that things started working agian.
parent 7533d929
......@@ -29,4 +29,4 @@ def write_database(output_file: str, database_content: dict) -> None:
"""
if output_file and database_content and database_content is not None:
with open(output_file, "wb") as output:
output.write(pickle.dump(database_content, output))
pickle.dump(database_content, output)
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