From 8cae9b00a08ac76347323f00eb52508d23f805e6 Mon Sep 17 00:00:00 2001 From: _ Date: Thu, 12 Oct 2023 00:23:03 +0200 Subject: [PATCH] Update config.py --- src/music_kraken/utils/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music_kraken/utils/config/config.py b/src/music_kraken/utils/config/config.py index d140ec9..91414eb 100644 --- a/src/music_kraken/utils/config/config.py +++ b/src/music_kraken/utils/config/config.py @@ -51,7 +51,7 @@ class Config: def write(self): 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): if not self.config_file.is_file():