diff --git a/powerline/lib/config.py b/powerline/lib/config.py index 522e5f45..d56b3c68 100644 --- a/powerline/lib/config.py +++ b/powerline/lib/config.py @@ -200,6 +200,10 @@ class ConfigLoader(MultiRunnedThread): except KeyError: pass self.exception('Error while loading {0}: {1}', path, str(e)) + try: + self.loaded.pop(path) + except KeyError: + pass def run(self): while self.interval is not None and not self.shutdown_event.is_set():