From f93069fc4b631a58be7a146faf0cea56354fa3d4 Mon Sep 17 00:00:00 2001 From: Ville Ranki Date: Sun, 29 Dec 2019 17:22:23 +0200 Subject: [PATCH] Ignore no account data (just changed the message). Fixes #4 --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 9196b71..f6909cd 100755 --- a/bot.py +++ b/bot.py @@ -176,7 +176,7 @@ class Bot: response = requests.get(ad_url) if response.status_code == 200: 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 def init(self):