mirror of https://github.com/janLo/punkow
make shortened interval shorter
This commit is contained in:
parent
2fc603290d
commit
f9b9b2b036
|
|
@ -63,7 +63,7 @@ class Timer(object):
|
|||
def _wait_time(self, now):
|
||||
for special in self._special_times:
|
||||
if special.is_between(now):
|
||||
return 1
|
||||
return 0.5
|
||||
return self._interval
|
||||
|
||||
@contextlib.asynccontextmanager
|
||||
|
|
|
|||
Loading…
Reference in New Issue