fix exception for preferences
This commit is contained in:
parent
d122e57f1a
commit
3a699585d5
|
@ -56,7 +56,7 @@ class plugin_Example: # The plugin's class
|
|||
try:
|
||||
entry1.set_text(self.config.get("option1"))
|
||||
entry2.set_text(self.config.get("option2"))
|
||||
except KeyError:
|
||||
except:
|
||||
entry1.set_text("")
|
||||
entry2.set_text("")
|
||||
self.dialog.show()
|
||||
|
|
Loading…
Reference in New Issue