Рефакторинг: работа с файлами

3.6.2.1
parent 38f53d0f32
commit b7f1e4bcd4

@ -385,7 +385,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(readFile(worldfile, grab=True))
f.write(readFileEx(worldfile, grab=True))
return True
def world_diff(self, builder_path):

Loading…
Cancel
Save