log variant id on num_player mismatch
This commit is contained in:
parent
5dbf8a5631
commit
71db1e9d26
@ -182,7 +182,7 @@ def _process_game_row(game: Dict, var_id, export_all_games: bool = False):
|
||||
f = platformdirs.user_data_dir(constants.APP_NAME, ensure_exists=True) + '/invalid_game_ids.txt'
|
||||
with open(f, "a+") as invalid_games_file:
|
||||
invalid_games_file.writelines(
|
||||
"{}, {}, {}\n".format(game_id, num_players, ", ".join(users))
|
||||
"{}, {}, {}, {}\n".format(game_id, var_id, num_players, ", ".join(users))
|
||||
)
|
||||
return
|
||||
# raise GameExportInvalidNumberOfPlayersError(game_id, num_players, users)
|
||||
|
Loading…
Reference in New Issue
Block a user