mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix exception for preferences
This commit is contained in:
parent
d122e57f1a
commit
3a699585d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue