diff options
| author | 2020-05-25 10:34:52 +0100 | |
|---|---|---|
| committer | 2020-05-25 10:34:52 +0100 | |
| commit | bb30d2904b4a3273d4b10dc9548c542d65f0c379 (patch) | |
| tree | e6bf89e968dd39a153227aa8ca060496d2c3cbec /bot/exts/easter/egg_decorating.py | |
| parent | Merge pull request #401 from fuzzmz/minesweeper-disabled-dm-handling (diff) | |
| parent | Remove accidental extra word from docstring (diff) | |
Merge pull request #413 from jodth07/encoding_bug_fix
Encoding bug fix
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 = [ |