diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-12 16:43:13 +0500 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-12 16:43:13 +0500 |
commit | 6b31d415b6746c48d60282ead26f33c9445e7642 (patch) | |
tree | d3abe415b17e6888641cbbf6f1d8b4ec75eb95fb | |
parent | README: update (diff) | |
download | void-6b31d415b6746c48d60282ead26f33c9445e7642.tar.gz void-6b31d415b6746c48d60282ead26f33c9445e7642.zip |
fix Pylint warnings
-rwxr-xr-x | app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |