mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix issue that prevented torrents from being added
This commit is contained in:
parent
2fb3f4b534
commit
368f94157f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue