summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/WindowSched.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-stdwin/WindowSched.py')
-rw-r--r--Lib/lib-stdwin/WindowSched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/WindowSched.py b/Lib/lib-stdwin/WindowSched.py
index 67c3afb..56ca6f8 100644
--- a/Lib/lib-stdwin/WindowSched.py
+++ b/Lib/lib-stdwin/WindowSched.py
@@ -35,7 +35,7 @@ def delayfunc(msecs):
if event[0] <> WE_TIMER:
mainloop.dispatch(event)
-q = sched.scheduler().init(time.millitimer, delayfunc)
+q = sched.scheduler(time.millitimer, delayfunc)
# Export functions enter, enterabs and cancel just like a scheduler
#