diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2013-05-09 18:53:43 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2013-05-09 19:02:34 +0100 |
commit | 686fb3184480527d81ecc2e399b24ae676e7a1e8 (patch) | |
tree | ab5bc9ed286fb109a74eff2105c34e0e06ad5d20 | |
parent | 03d5654a16cce44bf449ef2871a16f5c6bcb6c14 (diff) | |
download | deluge-686fb3184480527d81ecc2e399b24ae676e7a1e8.tar.gz deluge-686fb3184480527d81ecc2e399b24ae676e7a1e8.tar.bz2 deluge-686fb3184480527d81ecc2e399b24ae676e7a1e8.zip |
Fix #2221 : Addtorrentdialog KeyError accessing download_location
Sets a default value of None for any missing config keys
-rw-r--r-- | deluge/core/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/core.py b/deluge/core/core.py index 8a4d3f384..dd7648dfa 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -484,7 +484,7 @@ class Core(component.Component): try: config[key] = self.config[key] except KeyError: - pass + config[key] = None return config @export |