minor: pep8
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
This commit is contained in:
parent
81e38a85b0
commit
f50d03e529
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ class Manager():
|
|||
:param function action: Action to perform when the alarm expires.
|
||||
"""
|
||||
self._alarms.append((time, action))
|
||||
self._alarms.sort(key = _key_alarm)
|
||||
self._alarms.sort(key=_key_alarm)
|
||||
|
||||
def cancel_alarm(self, time, action):
|
||||
"""Unqueue an alarm."""
|
||||
|
|
Loading…
Reference in a new issue