diff options
author | 2019-03-19 14:50:50 -0400 | |
---|---|---|
committer | 2019-03-19 14:50:50 -0400 | |
commit | 288f3d889a8cfd7e24bdd8b751a3d16c08dcf675 (patch) | |
tree | e698abb888b08a811eaa97e9cd65637f9fbd1d15 /bot/seasons/evergreen/snakes/utils.py | |
parent | Docstring pass for Valentine's cogs (diff) | |
parent | Merge 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.py | 2 |
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) |