Code optimisations and refactoring via Sourcery
This commit is contained in:
1 parent
e090ee4308
commit
63ec23bac2
18 files changed
+47
-90
No files matched your search
@@ -103,7 +103,7 @@ class Loop:
|
||||
now = datetime.datetime.now(datetime.timezone.utc)
|
||||
if now > self._next_iteration:
|
||||
self._next_iteration = now
|
||||
except self._valid_exception as exc:
|
||||
except self._valid_exception:
|
||||
self._last_iteration_failed = True
|
||||
if not self.reconnect:
|
||||
raise
|
||||
|
||||
Reference in new issue
Block a user