Skip to content

Commit 165d6ae

Browse files
authored
Fix int concatenation
1 parent 5c2d552 commit 165d6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entities/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def get_user(handler: Callable[[Update, Dict[str, Any]],
2020
return await handler(update, data)
2121

2222
if not username:
23-
username = "unknown:" + chat_id
23+
username = "unknown:" + str(chat_id)
2424

2525
query = User.select().where(User.chat_id == chat_id)
2626
if not await query.aio_exists():

0 commit comments

Comments
 (0)