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:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user