diff --git a/ox/api.py b/ox/api.py index 51742c2..159aec7 100644 --- a/ox/api.py +++ b/ox/api.py @@ -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: