Skip to content

Commit

Permalink
fix: update avatar retrieval to use async function
Browse files Browse the repository at this point in the history
  • Loading branch information
krau committed Dec 8, 2024
1 parent 06374cb commit 727b5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kmua/callbacks/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
dao.commit()
photo = db_bot_user.avatar_big_id
if not photo:
photo = common.get_big_avatar_bytes(context.bot.id, context)
photo = await common.get_big_avatar_bytes(context.bot.id, context)
sent_message = await update.effective_message.reply_photo(
photo=photo,
caption="Nya~",
Expand Down

0 comments on commit 727b5e9

Please sign in to comment.