From ea3306ee6c68a92d73112fbe5dc9520eaf29a1a9 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Wed, 12 May 2021 00:04:21 +0300 Subject: [PATCH] WoTinspector.post_replay(): add _id --- blitzutils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blitzutils.py b/blitzutils.py index 5b512b8..686a72d 100755 --- a/blitzutils.py +++ b/blitzutils.py @@ -1867,6 +1867,8 @@ class WoTinspector: except Exception as err: debug(exception=err, id=N) await asyncio.sleep(SLEEP) + _id = self.read_replay_id(json_resp) + json_resp['_id'] = _id debug(' Could not post replay: ' + title, id=N) return json_resp