adjust downloading of actions: log if VoteTerminate action is found
This commit is contained in:
parent
e04d3a9025
commit
abdbc02c6b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def export_game(game_id) -> [bool, bool]:
|
||||||
with conn.cursor() as cur:
|
with conn.cursor() as cur:
|
||||||
cur.execute("UPDATE seeds SET deck=(%s) WHERE seed=(%s);", (deck, r['seed']))
|
cur.execute("UPDATE seeds SET deck=(%s) WHERE seed=(%s);", (deck, r['seed']))
|
||||||
try:
|
try:
|
||||||
actions = compress_actions([Action.from_json(a) for a in r['actions']])
|
actions = compress_actions([Action.from_json(a) for a in r['actions']], r['id'])
|
||||||
except:
|
except:
|
||||||
print("Unknown action while exporting game id {}".format(game_id))
|
print("Unknown action while exporting game id {}".format(game_id))
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue