futurize stage1 gui

This commit is contained in:
Simon Forman
2020-04-23 23:19:29 -07:00
parent b0df80f3e6
commit 89b4eb5e15
5 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class SavingMixin:
if not self.filename:
return
with open(self.filename, 'w') as f:
os.chmod(self.filename, 0600)
os.chmod(self.filename, 0o600)
f.write(text.encode('UTF_8'))
f.flush()
os.fsync(f.fileno())