diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 8b2ac1cc..3ec87db3 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -339,7 +339,7 @@ class Client: ) offset_date = parse_dialogs(dialogs) - logging.info("Dialogs count: {}".format(len(peers))) + log.info("Dialogs count: {}".format(len(peers))) while len(dialogs.dialogs) == self.DIALOGS_AT_ONCE: dialogs = self.send( @@ -350,7 +350,7 @@ class Client: ) offset_date = parse_dialogs(dialogs) - logging.info("Dialogs count: {}".format(len(peers))) + log.info("Dialogs count: {}".format(len(peers))) for i in peers: peer_id = i["id"]