mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 22:36:01 +02:00
Exchange if and with cr_kwargs_lock
This commit is contained in:
parent
2a0e601995
commit
577a1c0c79
@ -440,8 +440,8 @@ class Powerline(object):
|
||||
pass
|
||||
else:
|
||||
kwargs['load_' + type] = True
|
||||
with self.cr_kwargs_lock:
|
||||
if kwargs:
|
||||
if kwargs:
|
||||
with self.cr_kwargs_lock:
|
||||
self.create_renderer_kwargs.update(kwargs)
|
||||
self.shutdown_event.wait(self.interval)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user