mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
That shouldn't be there.
This commit is contained in:
parent
edc6ea83f2
commit
1feffe91ac
@ -89,7 +89,6 @@ class Schedule(drivers.IrcDriver):
|
|||||||
def removeEvent(self, name):
|
def removeEvent(self, name):
|
||||||
"""Removes the event with the given name from the schedule."""
|
"""Removes the event with the given name from the schedule."""
|
||||||
del self.events[name]
|
del self.events[name]
|
||||||
heapq.heappop(self.schedule)
|
|
||||||
self.schedule = [(t, n) for (t, n) in self.schedule if n != name]
|
self.schedule = [(t, n) for (t, n) in self.schedule if n != name]
|
||||||
|
|
||||||
def addPeriodicEvent(self, f, t, name=None):
|
def addPeriodicEvent(self, f, t, name=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user