diff options
| author | 2019-03-04 23:56:02 -0700 | |
|---|---|---|
| committer | 2019-03-04 23:56:02 -0700 | |
| commit | 3bbc4cc2132b7dffb98702304014561f69d230dd (patch) | |
| tree | 5fa63d4055d5a851d380ee616f56dd2f28160c82 /bot/seasons/evergreen/snakes/utils.py | |
| parent | Initial move of Snakes cog from the bot to seasonalbot (diff) | |
Make this pig fly
Diffstat (limited to 'bot/seasons/evergreen/snakes/utils.py')
| -rw-r--r-- | bot/seasons/evergreen/snakes/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/snakes/utils.py b/bot/seasons/evergreen/snakes/utils.py index 1e2ccacd..9823d701 100644 --- a/bot/seasons/evergreen/snakes/utils.py +++ b/bot/seasons/evergreen/snakes/utils.py @@ -11,7 +11,7 @@ import math import random from itertools import product from pathlib import Path -from typing import Dict, Tuple +from typing import List, Tuple import aiohttp from PIL import Image @@ -114,7 +114,7 @@ Y = 1 ANGLE_RANGE = math.pi * 2 -async def get_resource(file: str) -> Dict[str, str]: +def get_resource(file: str) -> List[dict]: with (SNAKE_RESOURCES / f"{file}.json").open() as snakefile: return json.load(snakefile) |