Update updateWandbox script to account for the new Wandbox API response

This commit is contained in:
Martin Hořeňovský 2019-10-20 20:55:59 +02:00
parent 407ee0af2f
commit 4eea438b73
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -41,7 +41,7 @@ def uploadFiles():
'save': True 'save': True
}) })
if 'status' in response and 'compiler_error' not in response: if 'url' in response and 'compiler_error' not in response:
return True, response['url'] return True, response['url']
else: else:
return False, response return False, response