aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 16:43:13 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 16:43:13 +0500
commit6b31d415b6746c48d60282ead26f33c9445e7642 (patch)
treed3abe415b17e6888641cbbf6f1d8b4ec75eb95fb /app.py
parentREADME: update (diff)
downloadvoid-6b31d415b6746c48d60282ead26f33c9445e7642.tar.gz
void-6b31d415b6746c48d60282ead26f33c9445e7642.zip
fix Pylint warnings
Diffstat (limited to 'app.py')
-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):