chiark / gitweb /
General-purpose event distribution interface
[disorder] / python / disorder.py.in
index 867b901c046547387146f047e7b02505a7ae78ec..3cc300c27c25bd9171d0d097bfd2f7a78bbb5deb 100644 (file)
@@ -905,7 +905,7 @@ class client:
 
   def schedule_add(self, when, priority, action, *rest):
     """Add a scheduled event"""
-    self._simple("schedule-add", when, priorty, action, *rest)
+    self._simple("schedule-add", str(when), priority, action, *rest)
 
   ########################################################################
   # I/O infrastructure