Убран говнокод

This commit is contained in:
2022-03-19 00:21:10 +02:00
parent 92fbf28c10
commit 3d574ae888
4 changed files with 6 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ class KickTimer:
self._task = asyncio.ensure_future(self._job())
def execute_now(self):
self._task.cancel()
self._task = asyncio.ensure_future(self._run_now())
def cancel(self):