Closed k-pypin closed 3 months ago
start_hamster_client is trying to obtain next_hamster_click value from the cache and just returns if it is None or less then the current time.
start_hamster_client
next_hamster_click
None
The thing is - it is never set to an actual value.
I believe that
if next_hamster_click == None or time.time() < next_hamster_click: return
should be changed to
if next_hamster_click is not None and time.time() < next_hamster_click: return
Hello Thank you. You are right, the code has been updated.
start_hamster_client
is trying to obtainnext_hamster_click
value from the cache and just returns if it isNone
or less then the current time.The thing is - it is never set to an actual value.
I believe that
should be changed to