fixed snapshot writing

master 3.7.1
idziubenko 3 years ago
parent e490a3a7f4
commit 599bab1edd

@ -392,7 +392,7 @@ class Builder(Update):
worldfile_snapshot = self.get_world_snapshot_filename(builder_path)
if not path.exists(worldfile_snapshot):
with writeFile(worldfile_snapshot) as f:
f.write(readFileEx(worldfile, grab=True))
f.write(readFileEx(worldfile, grab=True).decode("UTF-8"))
return True
def world_diff(self, builder_path):

Loading…
Cancel
Save