Skip to content

Commit

Permalink
Update handlers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iskomir committed Apr 29, 2024
1 parent ff380a3 commit 049a726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def handler_print(update: Update, context: ContextTypes.DEFAULT_TYPE):
number=requisites[2],
)
return
elif r.status_code == 415:
elif rfile.status_code == 415:
await update.message.reply_text(
text=ans.unreadable_file_error.format(update.message.document.file_name),
reply_to_message_id=update.message.id,
Expand Down

0 comments on commit 049a726

Please sign in to comment.