Commits

Jason R. Coombs committed 2c1b6a7

Added __init__ method to DelayedCommand. Fixes #13

  • Participants
  • Parent commits ec12bd8
  • Tags 7.1.2

Comments (0)

Files changed (2)

+7.1.2
+=====
+
+* Issue #13: TypeError on Python 3 when constructing PeriodicCommand (and thus
+  execute_every).
+
 7.1.1
 =====
 

File irc/schedule.py

     Clients may override .now() to have dates interpreted in a different
     manner, such as to use UTC or to have timezone-aware times.
     """
+    def __init__(self, delay, function, arguments):
+        pass
+
     def __new__(cls, delay, function, arguments):
         if not isinstance(delay, datetime.timedelta):
             delay = datetime.timedelta(seconds=delay)