Skip to content

Commit 4e1b542

Browse files
committed
Fix Client.name usage
1 parent ed5fab6 commit 4e1b542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/session/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ async def invoke(
364364
if amount > sleep_threshold >= 0:
365365
raise
366366

367-
log.warning(f'[{self.client.session_name}] Waiting for {amount} seconds before continuing '
367+
log.warning(f'[{self.client.name}] Waiting for {amount} seconds before continuing '
368368
f'(required by "{query_name}")')
369369

370370
await asyncio.sleep(amount)

0 commit comments

Comments
 (0)