Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bralbral committed Sep 29, 2023
1 parent 11381ce commit 1db2461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
aiogram==3.1.1
sulguk==0.6.0
# sulguk==0.6.0
# wait for fix https://github.com/Tishka17/sulguk/issues/19
git+https://github.com/bralbral/sulguk.git
pydantic-settings==2.0.3
pyaml==23.9.7
structlog~=23.1.0
Expand Down
2 changes: 1 addition & 1 deletion src/bot/handlers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def handle_user_message(
)

else:
if len(message.caption) > 1000:
if message.caption and len(message.caption) > 1000:
await message.reply(text=errors.too_long_message_caption)
return

Expand Down

0 comments on commit 1db2461

Please sign in to comment.