Fix migration on Windows

pull/1393/head
Piero Toffanin 2023-09-15 16:33:14 -04:00
rodzic 0de8a7e0fe
commit 9f5c58fe9a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: