kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix migration on Windows
rodzic
0de8a7e0fe
commit
9f5c58fe9a
|
@ -21,7 +21,7 @@ def dump_console_outputs(apps, schema_editor):
|
||||||
os.makedirs(dp, exist_ok=True)
|
os.makedirs(dp, exist_ok=True)
|
||||||
outfile = os.path.join(dp, "console_output.txt")
|
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)
|
f.write(t.console_output)
|
||||||
print("Wrote console output for %s to %s" % (t, outfile))
|
print("Wrote console output for %s to %s" % (t, outfile))
|
||||||
else:
|
else:
|
||||||
|
|
Ładowanie…
Reference in New Issue