Commit 17687d5c authored by Yuxin Wu's avatar Yuxin Wu

bug fix

parent b4a5b6e9
...@@ -113,7 +113,7 @@ class PeriodicCallback(ProxyCallback): ...@@ -113,7 +113,7 @@ class PeriodicCallback(ProxyCallback):
:param cb: a `Callback` :param cb: a `Callback`
:param period: int :param period: int
""" """
super(PeriodicCallback, self).__init__(self, cb) super(PeriodicCallback, self).__init__(cb)
self.period = int(period) self.period = int(period)
def _trigger_epoch(self): def _trigger_epoch(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment