mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Fix issue typo in schedule.removeEvent.
This commit is contained in:
parent
458508a287
commit
8211aab92e
@ -101,7 +101,7 @@ class Schedule(drivers.IrcDriver):
|
|||||||
# but that would only save a constant factor (we're already linear for
|
# but that would only save a constant factor (we're already linear for
|
||||||
# the listcomp) so I'm not worried about it right now.
|
# the listcomp) so I'm not worried about it right now.
|
||||||
with self.lock:
|
with self.lock:
|
||||||
self.schedule = [x for x in self.schedule if f != name]
|
self.schedule = [x for x in self.schedule if x[1] != name]
|
||||||
heapq.heapify(self.schedule)
|
heapq.heapify(self.schedule)
|
||||||
return f
|
return f
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user