Skip to content

Commit

Permalink
fix: fixed bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyreplus committed Nov 20, 2024
1 parent 8e4e521 commit fa9bfe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ async def ore(update: Update, context: ContextTypes.DEFAULT_TYPE):
if ore is None:
await update.message.reply_text("Errore, contatta lo staff IT.\n Codice errore: in ore function: ore is None")
return
if inlab is True:
if inlab is False:
answer_text = "Ciao! Non sei in lab 😿 \n"
elif inlab is False:
elif inlab is True:
answer_text = "Ciao! Sei in lab 🐱\n"
else:
await update.message.reply_text(f"Errore, contatta lo staff IT.\n Codice errore: in ore function: inlab is {inlab}")
Expand Down

0 comments on commit fa9bfe9

Please sign in to comment.