Fix Client.name usage

This commit is contained in:
Dan 2022-04-24 11:56:07 +02:00
parent ed5fab6952
commit 4e1b54288b

View File

@ -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)