aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/evergreen/snakes/utils.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-03-19 14:50:50 -0400
committerGravatar sco1 <[email protected]>2019-03-19 14:50:50 -0400
commit288f3d889a8cfd7e24bdd8b751a3d16c08dcf675 (patch)
treee698abb888b08a811eaa97e9cd65637f9fbd1d15 /bot/seasons/evergreen/snakes/utils.py
parentDocstring pass for Valentine's cogs (diff)
parentMerge pull request #144 from MadisonMcdonald/encoding-fix (diff)
Merge branch 'master' into flake8-docstring
Diffstat (limited to 'bot/seasons/evergreen/snakes/utils.py')
-rw-r--r--bot/seasons/evergreen/snakes/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/snakes/utils.py b/bot/seasons/evergreen/snakes/utils.py
index ba2068d5..e2ed60bd 100644
--- a/bot/seasons/evergreen/snakes/utils.py
+++ b/bot/seasons/evergreen/snakes/utils.py
@@ -114,7 +114,7 @@ ANGLE_RANGE = math.pi * 2
def get_resource(file: str) -> List[dict]:
"""Load Snake resources JSON."""
- with (SNAKE_RESOURCES / f"{file}.json").open() as snakefile:
+ with (SNAKE_RESOURCES / f"{file}.json").open(encoding="utf-8") as snakefile:
return json.load(snakefile)