Fix problem with updating value: it was not updated in a thread

This commit is contained in:
ZyX 2013-03-30 16:51:04 +04:00
parent 655549440b
commit 34c775f628
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class ThreadedSegment(object):
while not self.shutdown_event.is_set():
start_time = monotonic()
try:
self.update(self.update_value)
self.update_value = self.update(self.update_value)
except Exception as e:
self.error('Exception while updating: {0}', str(e))
self.skip = True