mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 15:43:28 +00:00
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…
x
Reference in New Issue
Block a user