mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix #2221 : Addtorrentdialog KeyError accessing download_location
Sets a default value of None for any missing config keys
This commit is contained in:
parent
03d5654a16
commit
686fb31844
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ class Core(component.Component):
|
|||
try:
|
||||
config[key] = self.config[key]
|
||||
except KeyError:
|
||||
pass
|
||||
config[key] = None
|
||||
return config
|
||||
|
||||
@export
|
||||
|
|
Loading…
Add table
Reference in a new issue