kopia lustrzana https://gitlab.com/marnanel/chapeau
async_result success codes are 0 and 1, not False and True
rodzic
dd5e925872
commit
a9a7937dde
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue