Skip to content

Commit

Permalink
[standby] job calls improved
Browse files Browse the repository at this point in the history
  • Loading branch information
kaulketh committed Mar 21, 2019
1 parent 2b2ec21 commit 96b3963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/greenhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 96b3963

Please # to comment.