diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2015-04-02 09:42:17 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2015-04-02 09:42:17 +0200 |
commit | ffb28308cefc7cf588da745508670122319c690f (patch) | |
tree | aefbc7f602ceff8a75fad19936bfa098f89e789f /grc/gui/ActionHandler.py | |
parent | 95c59385950ca3012ba1b608250454271fb80707 (diff) |
grc: don't try to open missing files
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r-- | grc/gui/ActionHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py index 6c56a94e9c..55be5d0b80 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/ActionHandler.py @@ -129,7 +129,7 @@ class ActionHandler: Actions.XML_PARSER_ERRORS_DISPLAY.set_sensitive(True) if not self.init_file_paths: - self.init_file_paths = Preferences.files_open() + self.init_file_paths = filter(os.path.exists, Preferences.files_open()) if not self.init_file_paths: self.init_file_paths = [''] for file_path in self.init_file_paths: if file_path: self.main_window.new_page(file_path) #load pages from file paths |