Skip to content

Commit

Permalink
Fix migration on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Sep 15, 2023
1 parent 0de8a7e commit 9f5c58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/migrations/0038_remove_task_console_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def dump_console_outputs(apps, schema_editor):
os.makedirs(dp, exist_ok=True)
outfile = os.path.join(dp, "console_output.txt")

with open(outfile, "w") as f:
with open(outfile, "w", encoding="utf-8") as f:
f.write(t.console_output)
print("Wrote console output for %s to %s" % (t, outfile))
else:
Expand Down

0 comments on commit 9f5c58f

Please sign in to comment.