aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xapp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/app.py
index 82a1616..9498516 100755
--- a/app.py
+++ b/app.py
@@ -87,11 +87,11 @@ class Void:
self.cnt = cnt
def save(self, path):
- with open(path, 'w') as fd:
+ with open(path, 'w', encoding='utf-8') as fd:
self.write(fd)
def restore(self, path):
- with open(path) as fd:
+ with open(path, encoding='utf-8') as fd:
self.read(fd)
def scream_once(self):