summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/sched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py
index 1c7bfea..aecdb2a 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -117,7 +117,7 @@ class scheduler:
action(*argument)
delayfunc(0) # Let other threads run
else:
- heapq.heappush(event)
+ heapq.heappush(q, event)
@property
def queue(self):