summaryrefslogtreecommitdiff
path: root/src/timed_events.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-10 04:08:33 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-10 04:08:33 +0200
commit01509b463b3555c9e630991b3b931c1c30c06ef1 (patch)
tree8fdba9f66b1d6631ac81d8c86db3e5a30227363a /src/timed_events.py
parenta6c56682b74acb7ef568913bbc964b4f17cf3202 (diff)
downloadpoezio-01509b463b3555c9e630991b3b931c1c30c06ef1.tar.gz
poezio-01509b463b3555c9e630991b3b931c1c30c06ef1.tar.bz2
poezio-01509b463b3555c9e630991b3b931c1c30c06ef1.tar.xz
poezio-01509b463b3555c9e630991b3b931c1c30c06ef1.zip
Fix the *args of timed events
Diffstat (limited to 'src/timed_events.py')
-rw-r--r--src/timed_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timed_events.py b/src/timed_events.py
index 66d3449e..335fc6be 100644
--- a/src/timed_events.py
+++ b/src/timed_events.py
@@ -77,5 +77,5 @@ class DelayedEvent(TimedEvent):
"""
def __init__(self, delay, callback, *args):
date = datetime.datetime.now() + datetime.timedelta(seconds=delay)
- TimedEvent.__init__(self, date, callback, args)
+ TimedEvent.__init__(self, date, callback, *args)