nevermind, "<" in python is not strict
This commit is contained in:
parent
20d7e480c1
commit
011d5b4964
2
bot.py
2
bot.py
|
@ -66,7 +66,7 @@ class BotListener(StreamListener):
|
|||
else:
|
||||
f = open(sender_filename,'r+')
|
||||
number_of_mention = int(f.read())
|
||||
if number_of_mention < 5: # limit of mention per minute is 4
|
||||
if number_of_mention < 4: # limit of mention per minute is 4
|
||||
f.seek(0)
|
||||
f.write(str(number_of_mention + 1))
|
||||
can_continue = True
|
||||
|
|
Reference in a new issue