mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 23:04:51 +00:00
Fix Client.name usage
This commit is contained in:
parent
ed5fab6952
commit
4e1b54288b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue