async_result success codes are 0 and 1, not False and True

thingy_objects
Marnanel Thurman 2018-10-12 20:15:12 +01:00
rodzic dd5e925872
commit a9a7937dde
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -29,7 +29,7 @@ def fetch(
response = requests.post(
result_url,
params={
'success': fetch.status_code==200,
'success': int(fetch.status_code==200),
'uuid': result_id,
},
data=fetch.text,