WoTinspector.post_replay(): add _id

This commit is contained in:
Jylpah committed 2021-05-12 00:04:21 +03:00
1 parent e4882d70af
commit ea3306ee6c
1 file changed
+2
+2
View File
@@ -1867,6 +1867,8 @@ class WoTinspector:
except Exception as err: except Exception as err:
debug(exception=err, id=N) debug(exception=err, id=N)
await asyncio.sleep(SLEEP) await asyncio.sleep(SLEEP)
_id = self.read_replay_id(json_resp)
json_resp['_id'] = _id
debug(' Could not post replay: ' + title, id=N) debug(' Could not post replay: ' + title, id=N)
return json_resp return json_resp