Ignore no account data (just changed the message). Fixes #4
This commit is contained in:
parent
b2059e78a7
commit
f93069fc4b
2
bot.py
2
bot.py
|
@ -176,7 +176,7 @@ class Bot:
|
||||||
response = requests.get(ad_url)
|
response = requests.get(ad_url)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
return response.json()
|
return response.json()
|
||||||
print('Getting account data failed:', response, response.json())
|
print(f'Getting account data failed: {response} {response.json()} - this is normal if you have not saved any settings yet.')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
|
|
Loading…
Reference in New Issue