- +1 minor fix
This commit is contained in:
parent
d8ebb909cb
commit
bb9c363e0d
|
|
@ -78,7 +78,7 @@ class QualtestBackend:
|
|||
r = requests.post(url=url, json=report, timeout=utils.NETWORK_TIMEOUT)
|
||||
utils.log_verbose(f"Upload report finished. Response (probe ID): {r.content}")
|
||||
if r.status_code != 200:
|
||||
if r.status_code == 500 and 'Duplicate entry' in r.content().decode():
|
||||
if r.status_code == 500 and 'Duplicate entry' in r.content.decode():
|
||||
# Suppose it success
|
||||
result = (report['id'], True)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue