Update config.py
This commit is contained in:
parent
bc03568949
commit
8cae9b00a0
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user