Fix
This commit is contained in:
parent
ae7e0ba61e
commit
13d7c782ed
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ def call_api(params, path):
|
||||||
except:
|
except:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if response.status_code is not 200:
|
||||||
|
return
|
||||||
|
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
def print_data(key, value, suffix = None):
|
def print_data(key, value, suffix = None):
|
||||||
|
|
Loading…
Reference in a new issue