From fe958377a4937788b7d609df5da677f3e1e58467 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Tue, 3 Nov 2020 23:50:02 +0200 Subject: [PATCH] cleanup comments --- analyze_wotb_replays.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/analyze_wotb_replays.py b/analyze_wotb_replays.py index 1653a82..b298978 100755 --- a/analyze_wotb_replays.py +++ b/analyze_wotb_replays.py @@ -1710,7 +1710,6 @@ async def replay_reader(queue: asyncio.Queue, readerID: int, args : argparse.Nam msg_str = 'Replay[' + str(replayID) + ']: ' if replay_json == None: bu.warning(msg_str + 'Invalid replay. Skipping: ' + (replay_file if replay_file != None else '') ) - #SKIPPED_N += 1 queue.task_done() continue @@ -1723,7 +1722,6 @@ async def replay_reader(queue: asyncio.Queue, readerID: int, args : argparse.Nam queue.task_done() continue - # if (account_id != None): playerstanks.update(set(result['allies'])) playerstanks.update(set(result['enemies'])) playerstanks.update(set([result['player']])) @@ -1774,9 +1772,6 @@ async def read_replay_JSON(replay_json: dict, args : argparse.Namespace) -> dict replay_json['data']['summary']['enemies'] = replay_json['data']['summary']['allies'] replay_json['data']['summary']['allies'] = tmp elif account_id in replay_json['data']['summary']['allies']: - # account_id looked for but not found in teams - #bu.debug('Replay ' + replay_json['data']['summary']['title'] + ' does not have account_id ' + str(account_id) + '. Skipping.') - # account_id = protagonist pass else: # looking for an account_id, but account_id not found in the teams => skipping the replay