fix variable name
This commit is contained in:
parent
8c14d28aa2
commit
fb8b33d916
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class API(object):
|
|||
return False
|
||||
if data['status']['code'] != 200:
|
||||
print("request returned error, will try again in 5 seconds")
|
||||
if DEBUG:
|
||||
if self.DEBUG:
|
||||
print(data)
|
||||
time.sleep(5)
|
||||
if data and data.get('result') == 1:
|
||||
|
|
Loading…
Reference in a new issue