Make daemon work in py3 again

This commit is contained in:
hackrush 2018-07-25 17:13:21 +05:30 committed by Jack Robison
parent af2aeaa66b
commit a95f791215
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -238,7 +238,7 @@ class AuthJSONRPCServer(AuthorizedBase):
reactor.addSystemEventTrigger('before', 'shutdown', self._shutdown) reactor.addSystemEventTrigger('before', 'shutdown', self._shutdown)
if not self.analytics_manager.is_started: if not self.analytics_manager.is_started:
self.analytics_manager.start() self.analytics_manager.start()
for lc_name, lc_time in self._looping_call_times.iteritems(): for lc_name, lc_time in self._looping_call_times.items():
self.looping_call_manager.start(lc_name, lc_time) self.looping_call_manager.start(lc_name, lc_time)
def update_attribute(setup_result, component): def update_attribute(setup_result, component):