From 6b31d415b6746c48d60282ead26f33c9445e7642 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 12 Mar 2022 16:43:13 +0500 Subject: fix Pylint warnings --- app.py | 4 ++-- 1 file 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): -- cgit v1.2.3