added crud opertions for tag entity
This commit is contained in:
@@ -139,7 +139,7 @@ def register(bot: TeleBot):
|
||||
new_value = message.text
|
||||
|
||||
# Handle cancellation
|
||||
if new_value.lower() == 'cancel' or new_value == f"{previous_value} (current)":
|
||||
if new_value.lower() == 'cancel' or new_value == f"{previous_value}":
|
||||
msg = "Action cancelled." if new_value.lower(
|
||||
) == 'cancel' else f"No changes made to {field}."
|
||||
bot.send_message(message.chat.id, msg, reply_markup=startMarkup())
|
||||
|
||||
Reference in New Issue
Block a user