From 87bd61ecc28b2d85f5d1ccecd2b97cd6b1c4eca9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 23 Feb 2018 13:59:26 +0100 Subject: [PATCH] Set log level to WARNING --- pyrogram/client/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 08c02f77..b1225ed0 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -773,7 +773,7 @@ class Client: ) ) except FloodWait as e: - log.info("Get dialogs flood wait: {}".format(e.x)) + log.warning("get_dialogs flood: waiting {} seconds".format(e.x)) time.sleep(e.x) continue @@ -2414,7 +2414,7 @@ class Client: try: contacts = self.send(functions.contacts.GetContacts(_hash)) except FloodWait as e: - log.info("Get contacts flood wait: {}".format(e.x)) + log.warning("get_contacts flood: waiting {} seconds".format(e.x)) time.sleep(e.x) continue else: