mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix Client.name usage
This commit is contained in:
parent
ed5fab6952
commit
4e1b54288b
@ -364,7 +364,7 @@ class Session:
|
||||
if amount > sleep_threshold >= 0:
|
||||
raise
|
||||
|
||||
log.warning(f'[{self.client.session_name}] Waiting for {amount} seconds before continuing '
|
||||
log.warning(f'[{self.client.name}] Waiting for {amount} seconds before continuing '
|
||||
f'(required by "{query_name}")')
|
||||
|
||||
await asyncio.sleep(amount)
|
||||
|
Loading…
Reference in New Issue
Block a user