1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

remove double assign

This commit is contained in:
A_D 2020-09-18 23:18:29 +02:00
parent 9710a5e9bb
commit e930911415
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

@ -552,7 +552,8 @@ def worker() -> None:
r = this.session.post('https://www.edsm.net/api-journal-v1', data=data, timeout=_TIMEOUT)
r.raise_for_status()
reply = r.json()
(msg_num, msg) = reply['msgnum'], reply['msg']
msg_num = reply['msgnum']
msg = reply['msg']
# 1xx = OK
# 2xx = fatal error
# 3&4xx not generated at top-level