aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/evergreen/snakes/utils.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-03-19 14:52:43 -0400
committerGravatar sco1 <[email protected]>2019-03-19 14:52:43 -0400
commitbfd9f9b4d5f9de92fbb462f1194bc5dbaf65052f (patch)
tree5313ac761762ba2f1f4f606e82ab5bed801abf37 /bot/seasons/evergreen/snakes/utils.py
parentAdd missed error listener decorator (diff)
parentMerge pull request #144 from MadisonMcdonald/encoding-fix (diff)
Merge branch 'master' into dpy-cog-changes
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 605c7ef3..ec280223 100644
--- a/bot/seasons/evergreen/snakes/utils.py
+++ b/bot/seasons/evergreen/snakes/utils.py
@@ -117,7 +117,7 @@ ANGLE_RANGE = math.pi * 2
def get_resource(file: str) -> List[dict]:
- 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)