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/evergreen/recommend_game.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/evergreen/recommend_game.py')
| -rw-r--r-- | bot/exts/evergreen/recommend_game.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/recommend_game.py b/bot/exts/evergreen/recommend_game.py index 7cd52c2c..5e262a5b 100644 --- a/bot/exts/evergreen/recommend_game.py +++ b/bot/exts/evergreen/recommend_game.py @@ -11,7 +11,7 @@ game_recs = [] # Populate the list `game_recs` with resource files for rec_path in Path("bot/resources/evergreen/game_recs").glob("*.json"): - with rec_path.open(encoding='utf-8') as file: + with rec_path.open(encoding='utf8') as file: data = json.load(file) game_recs.append(data) shuffle(game_recs) |