mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +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:
|
if amount > sleep_threshold >= 0:
|
||||||
raise
|
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}")')
|
f'(required by "{query_name}")')
|
||||||
|
|
||||||
await asyncio.sleep(amount)
|
await asyncio.sleep(amount)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user