Fix #2221 : Addtorrentdialog KeyError accessing download_location

Sets a default value of None for any missing config keys
This commit is contained in:
Calum Lind 2013-05-09 18:53:43 +01:00
parent 03d5654a16
commit 686fb31844

View file

@ -484,7 +484,7 @@ class Core(component.Component):
try:
config[key] = self.config[key]
except KeyError:
pass
config[key] = None
return config
@export