diff options
| author | 2020-09-24 18:54:39 +0300 | |
|---|---|---|
| committer | 2020-09-24 18:54:39 +0300 | |
| commit | a3246bd40a3a496ad155d02653d3104392d9ff8e (patch) | |
| tree | fffc704f2cc09c44f4727872d8ad80bad5a10ae9 /bot/exts/valentines/lovecalculator.py | |
| parent | Tictactoe: Use __str__ instead custom display method for user/AI name display (diff) | |
| parent | Merge branch 'master' into tic-tac-toe (diff) | |
Merge remote-tracking branch 'origin/tic-tac-toe' into tic-tac-toe
Diffstat (limited to 'bot/exts/valentines/lovecalculator.py')
| -rw-r--r-- | bot/exts/valentines/lovecalculator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/valentines/lovecalculator.py b/bot/exts/valentines/lovecalculator.py index e11e062b..c75ea6cf 100644 --- a/bot/exts/valentines/lovecalculator.py +++ b/bot/exts/valentines/lovecalculator.py @@ -15,7 +15,7 @@ from bot.constants import Roles log = logging.getLogger(__name__) -with Path("bot/resources/valentines/love_matches.json").open() as file: +with Path("bot/resources/valentines/love_matches.json").open(encoding="utf8") as file: LOVE_DATA = json.load(file) LOVE_DATA = sorted((int(key), value) for key, value in LOVE_DATA.items()) |