mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Call the proper logger
This commit is contained in:
parent
b6607fede0
commit
53e74e34ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue