mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Removed inapplicable comment.
This commit is contained in:
parent
015bb9ef53
commit
644eb1c248
@ -84,8 +84,6 @@ class Schedule(drivers.IrcDriver):
|
|||||||
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):
|
||||||
# Note that you can't name a periodic event -- it'll be erased after
|
|
||||||
# it's been run only once.
|
|
||||||
def wrapper():
|
def wrapper():
|
||||||
f()
|
f()
|
||||||
self.addEvent(wrapper, time.time() + t, name)
|
self.addEvent(wrapper, time.time() + t, name)
|
||||||
|
Loading…
Reference in New Issue
Block a user