aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/easter/egg_decorating.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-05-25 10:34:52 +0100
committerGravatar GitHub <[email protected]>2020-05-25 10:34:52 +0100
commitbb30d2904b4a3273d4b10dc9548c542d65f0c379 (patch)
treee6bf89e968dd39a153227aa8ca060496d2c3cbec /bot/exts/easter/egg_decorating.py
parentMerge pull request #401 from fuzzmz/minesweeper-disabled-dm-handling (diff)
parentRemove 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.py4
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 = [