mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Fix issue that prevented torrents from being added
This commit is contained in:
parent
2fb3f4b534
commit
368f94157f
@ -94,7 +94,7 @@ class TorrentOptions(dict):
|
||||
if super(TorrentOptions, self).has_key(key):
|
||||
return super(TorrentOptions, self).__getitem__(key)
|
||||
elif key in self.default_keys:
|
||||
if self.default_keys[key] in self.config.config:
|
||||
if self.default_keys[key] and self.default_keys[key] in self.config.config:
|
||||
return self.config[self.default_keys[key]]
|
||||
else:
|
||||
return self.default_keys[key]
|
||||
|
Loading…
x
Reference in New Issue
Block a user