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/easter/egg_decorating.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/easter/egg_decorating.py')
| -rw-r--r-- | bot/exts/easter/egg_decorating.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/easter/egg_decorating.py b/bot/exts/easter/egg_decorating.py index be228b2c..b18e6636 100644 --- a/bot/exts/easter/egg_decorating.py +++ b/bot/exts/easter/egg_decorating.py @@ -12,10 +12,10 @@ from discord.ext import commands log = logging.getLogger(__name__) -with open(Path("bot/resources/evergreen/html_colours.json")) as f: +with open(Path("bot/resources/evergreen/html_colours.json"), encoding="utf8") as f: HTML_COLOURS = json.load(f) -with open(Path("bot/resources/evergreen/xkcd_colours.json")) as f: +with open(Path("bot/resources/evergreen/xkcd_colours.json"), encoding="utf8") as f: XKCD_COLOURS = json.load(f) COLOURS = [ |