1
0
Fork 0

minor: pep8

Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
This commit is contained in:
thiswillbeyourgithub 2023-07-07 20:03:23 +02:00 committed by Daniel Thompson
parent 81e38a85b0
commit f50d03e529

View file

@ -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."""