diff --git a/powerline/lib/threaded.py b/powerline/lib/threaded.py index 73fdb33f..e613a3a8 100644 --- a/powerline/lib/threaded.py +++ b/powerline/lib/threaded.py @@ -35,7 +35,6 @@ class ThreadedSegment(object): # # If running once .update() is called in __call__. if update_first and self.update_first: - self.update_first = False self.update() self.start() diff --git a/powerline/shell.py b/powerline/shell.py index 4d54de0a..4e8aa789 100644 --- a/powerline/shell.py +++ b/powerline/shell.py @@ -14,10 +14,10 @@ def mergeargs(argvalue): class ShellPowerline(Powerline): - def __init__(self, args, run_once=False, **kwargs): + def __init__(self, args, **kwargs): self.args = args self.theme_option = mergeargs(args.theme_option) or {} - super(ShellPowerline, self).__init__(args.ext[0], args.renderer_module, run_once=run_once, **kwargs) + super(ShellPowerline, self).__init__(args.ext[0], args.renderer_module, **kwargs) def load_main_config(self): r = super(ShellPowerline, self).load_main_config()