From ca8b63e17a547aa8a29a95cbe35ad5ca05a62312 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Fri, 10 Jul 2020 12:39:17 +0300 Subject: [PATCH] Fix --- analyze_wotb_replays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze_wotb_replays.py b/analyze_wotb_replays.py index 4113f1d..4863c32 100644 --- a/analyze_wotb_replays.py +++ b/analyze_wotb_replays.py @@ -1179,7 +1179,7 @@ async def mk_replayQ(queue : asyncio.Queue, args : argparse.Namespace, db : moto if entry.is_file() and (p_replayfile.match(entry.name) != None): bu.debug(entry.name) replay_json = await bu.open_JSON(entry.path, wi.chk_JSON_replay) - await queue.put(await mk_readerQ_item(replay_json, fn)) + await queue.put(await mk_readerQ_item(replay_json, entry.name)) bu.debug('File added to queue: ' + entry.path) Nreplays += 1 except Exception as err: