mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-10-24 19:49:52 +02:00
Ensure the replay gets added to DB
This commit is contained in:
1 parent
e68568df99
commit
851a355fe9
1 file changed
+1
@@ -198,6 +198,7 @@ async def replayWorker(queue: asyncio.Queue, db: motor.motor_asyncio.AsyncIOMoto
|
|||||||
if wi.chk_JSON_replay(replay_json):
|
if wi.chk_JSON_replay(replay_json):
|
||||||
bu.verbose(msg_str + title + ' has already been posted. Skipping.' )
|
bu.verbose(msg_str + title + ' has already been posted. Skipping.' )
|
||||||
SKIPPED_N += 1
|
SKIPPED_N += 1
|
||||||
|
await saveReplay2DB(db, replay_json)
|
||||||
queue.task_done()
|
queue.task_done()
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user