diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2017-06-29 15:07:11 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2017-06-29 15:07:11 +0100 |
commit | 850fd34522992826984d616d4353d4d79c9d130b (patch) | |
tree | 4de5fd609501bc9a64d4dff4e392371324484b0f /deluge/core/core.py | |
parent | 9164dafe6932d032813d33eb963941c7cfbf1606 (diff) | |
download | deluge-850fd34522992826984d616d4353d4d79c9d130b.tar.gz deluge-850fd34522992826984d616d4353d4d79c9d130b.tar.bz2 deluge-850fd34522992826984d616d4353d4d79c9d130b.zip |
[#3084] Fix error changing ownership on torrents
Diffstat (limited to 'deluge/core/core.py')
-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 f495249b5..71b7a3130 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -715,7 +715,7 @@ class Core(component.Component): torrent_ids (list): A list of torrent_ids to set the options for. options (dict): A dict of torrent options to set. See torrent.TorrentOptions class for valid keys. """ - if 'owner' in options and not self.core.authmanager.has_account(options['owner']): + if 'owner' in options and not self.authmanager.has_account(options['owner']): raise DelugeError('Username "%s" is not known.' % options['owner']) if isinstance(torrent_ids, str if not PY2 else basestring): |