mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 17:43:32 +00:00
Call the proper logger
This commit is contained in:
parent
b6607fede0
commit
53e74e34ad
@ -339,7 +339,7 @@ class Client:
|
|||||||
)
|
)
|
||||||
|
|
||||||
offset_date = parse_dialogs(dialogs)
|
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:
|
while len(dialogs.dialogs) == self.DIALOGS_AT_ONCE:
|
||||||
dialogs = self.send(
|
dialogs = self.send(
|
||||||
@ -350,7 +350,7 @@ class Client:
|
|||||||
)
|
)
|
||||||
|
|
||||||
offset_date = parse_dialogs(dialogs)
|
offset_date = parse_dialogs(dialogs)
|
||||||
logging.info("Dialogs count: {}".format(len(peers)))
|
log.info("Dialogs count: {}".format(len(peers)))
|
||||||
|
|
||||||
for i in peers:
|
for i in peers:
|
||||||
peer_id = i["id"]
|
peer_id = i["id"]
|
||||||
|
Loading…
Reference in New Issue
Block a user