Update config.py

This commit is contained in:
_ 2023-10-12 00:23:03 +02:00 committed by GitHub
parent bc03568949
commit 8cae9b00a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ class Config:
def write(self): def write(self):
with self.config_file.open("w") as conf_file: with self.config_file.open("w") as conf_file:
conf_file.write(self.toml_string) conf_file.write(self.toml_string, encoding="utf-8")
def read(self): def read(self):
if not self.config_file.is_file(): if not self.config_file.is_file():