Remove redundant else branch

This commit is contained in:
Mfon Eti-mfon 2020-02-11 15:13:40 +01:00
parent ac8009af4a
commit b28ceb76f8

View File

@ -43,8 +43,7 @@ def can_react(chat_id):
# Make sure we updated the last reaction time # Make sure we updated the last reaction time
recent_reacts[chat_id] = now recent_reacts[chat_id] = now
return True return True
else: return False
return False
# Register `events.NewMessage` before defining the client. # Register `events.NewMessage` before defining the client.