mirror of
https://github.com/powerline/powerline.git
synced 2025-07-10 07:25:02 +02:00
Fix problem with updating value: it was not updated in a thread
This commit is contained in:
parent
655549440b
commit
34c775f628
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user