diff options
Diffstat (limited to 'lib/gui')
| -rw-r--r-- | lib/gui/presets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/presets.py b/lib/gui/presets.py index bd0b1787..b3312f0e 100644 --- a/lib/gui/presets.py +++ b/lib/gui/presets.py @@ -98,7 +98,7 @@ class PresetsPanel(wx.Panel): with open(self.presets_path(), 'r') as presets: presets = json.load(presets) return presets - except IOError: + except (IOError, ValueError): return {} def _save_presets(self, presets): |
