mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-23 02:25:53 +03:00
replace / with //
This commit is contained in:
parent
cdb253b2a0
commit
058cf454b5
@ -101,6 +101,6 @@ class Limits(object):
|
||||
def _clear_counters_if_needed(self):
|
||||
current_time = int(time.time())
|
||||
for interval in self.intervals:
|
||||
if current_time / self.divisor[interval] != self.last_update[interval]:
|
||||
if current_time // self.divisor[interval] != self.last_update[interval]:
|
||||
self.counter[interval] = {}
|
||||
self.last_update[interval] = current_time / self.divisor[interval]
|
||||
|
Loading…
Reference in New Issue
Block a user