|
|
@ -190,7 +190,7 @@ def do_command(command, value=0): |
|
|
|
|
|
|
|
|
|
|
|
def is_command_execution_valid(ce): |
|
|
|
if ce[1] > (time.time() - 2) * 1000: # if timestamp is created not earlier than a second ago |
|
|
|
if ce[1] > (time.time() - 2) * 1000: # if timestamp is created not earlier than 2 seconds ago |
|
|
|
return True |
|
|
|
else: |
|
|
|
# if command that should be executed isn't STOP |
|
|
|