From 96b396312bfdfa7a5f55c190667bbfbb5ea26cc2 Mon Sep 17 00:00:00 2001 From: Thomas Kaulke Date: Thu, 21 Mar 2019 15:03:16 +0100 Subject: [PATCH] [standby] job calls improved --- bot/greenhouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/greenhouse.py b/bot/greenhouse.py index 3b41bac..4df225d 100644 --- a/bot/greenhouse.py +++ b/bot/greenhouse.py @@ -138,8 +138,8 @@ def __grouping(bot, update, chat_data): btn_click = str(query.data) if not (btn_click == str(lib.btn_finished) or btn_click == str(lib.cancel)): - __stop_standby_timer(bot, update) if not selection.__contains__(int(btn_click)): + __stop_standby_timer(bot, update) selection += (int(btn_click),) bot.edit_message_text(text=lib.msg_grouping_selection.format(selection), chat_id=query.message.chat_id,