Remove manually specified utf-8 encoding

Since SaveFile now defaults to UTF-8
This commit is contained in:
Arjen Hiemstra 2016-10-24 14:24:02 +02:00
parent 7b65297a31
commit be0e48664a

View file

@ -382,7 +382,7 @@ class CuraApplication(QtApplication):
if path:
instance.setPath(path)
with SaveFile(path, "wt", -1, "utf-8") as f:
with SaveFile(path, "wt") as f:
f.write(data)
for stack in ContainerRegistry.getInstance().findContainerStacks():
@ -409,7 +409,7 @@ class CuraApplication(QtApplication):
path = Resources.getStoragePath(self.ResourceTypes.ExtruderStack, file_name)
if path:
stack.setPath(path)
with SaveFile(path, "wt", -1, "utf-8") as f:
with SaveFile(path, "wt") as f:
f.write(data)