2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-09 02:35:21 +00:00

Call the proper logger

This commit is contained in:
Dan
2017-12-17 13:52:57 +01:00
parent b6607fede0
commit 53e74e34ad

View File

@@ -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"]