diff options
| author | 2020-05-19 20:52:24 -0400 | |
|---|---|---|
| committer | 2020-05-19 20:52:24 -0400 | |
| commit | ec1604d391ebbc14e25c52930e6ccadf3548b171 (patch) | |
| tree | e19ea1c1e60f3e3304e4a33f86296d68b3ca7d7d /bot/exts/halloween/spookyrating.py | |
| parent | 5/19 - bot | xmas, easter, evergreen - updated open statesments with explicit... (diff) | |
5/19 - ext - set upen files encoding to utf8 for bots
Diffstat (limited to 'bot/exts/halloween/spookyrating.py')
| -rw-r--r-- | bot/exts/halloween/spookyrating.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/spookyrating.py b/bot/exts/halloween/spookyrating.py index 1a48194e..6f069f8c 100644 --- a/bot/exts/halloween/spookyrating.py +++ b/bot/exts/halloween/spookyrating.py @@ -11,7 +11,7 @@ from bot.constants import Colours log = logging.getLogger(__name__) -with Path("bot/resources/halloween/spooky_rating.json").open() as file: +with Path("bot/resources/halloween/spooky_rating.json").open(encoding="utf8") as file: SPOOKY_DATA = json.load(file) SPOOKY_DATA = sorted((int(key), value) for key, value in SPOOKY_DATA.items()) |