aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/branding.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/branding.py')
-rw-r--r--bot/exts/evergreen/branding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py
index 6553830c..7e531011 100644
--- a/bot/exts/evergreen/branding.py
+++ b/bot/exts/evergreen/branding.py
@@ -179,7 +179,7 @@ class BrandingManager(commands.Cog):
current_config = self._read_config()
current_config[key] = value
- with self.config_file.open("w") as persistent_file:
+ with self.config_file.open("w", encoding="utf8") as persistent_file:
json.dump(current_config, persistent_file)
async def _daemon_func(self) -> None: