typo(again)

This commit is contained in:
j 2019-02-02 14:58:10 +05:30
parent d84e950ca8
commit bcfc8ba9b2

View file

@ -512,7 +512,7 @@ class Nodes(Thread):
self.queue('add', u.id, True) self.queue('add', u.id, True)
self.local = LocalNodes() self.local = LocalNodes()
self._pullcb = PeriodicCallback(self.pull, settings.server['pull_interval']) self._pullcb = PeriodicCallback(self.pull, settings.server['pull_interval'])
state.main.add_callback(self.pullcb.start) state.main.add_callback(self._pullcb.start)
Thread.__init__(self) Thread.__init__(self)
self.daemon = True self.daemon = True
self.start() self.start()