diff options
author | 2020-05-19 07:42:41 -0400 | |
---|---|---|
committer | 2020-05-19 07:42:41 -0400 | |
commit | 9c0cbed99a92b49d9bd16ef6e9b8b5c246740072 (patch) | |
tree | 612fd2fe2cd1d53dc16d3dd77efcfbc88f06a857 /bot/exts/evergreen/branding.py | |
parent | 5/19 - evergreen | triva - fixed utf-8 bugs for windows (diff) |
5/19 - bot | xmas, easter, evergreen - updated open statesments with explicit encoding
Diffstat (limited to 'bot/exts/evergreen/branding.py')
-rw-r--r-- | bot/exts/evergreen/branding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 1d463c5b..6553830c 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -171,7 +171,7 @@ class BrandingManager(commands.Cog): def _read_config(self) -> t.Dict[str, bool]: """Read and return persistent config file.""" - with self.config_file.open("r") as persistent_file: + with self.config_file.open("r", encoding="utf8") as persistent_file: return json.load(persistent_file) def _write_config(self, key: str, value: bool) -> None: |