diff options
author | Calum Lind <calumlind@gmail.com> | 2018-11-02 09:00:42 +0000 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-11-02 09:00:42 +0000 |
commit | 2104b9831c08d53ea27b80ca98deb923f04e1e9d (patch) | |
tree | 41d33ebbc5d081b71fb046d1e6ae6ef12c5394a5 | |
parent | e7127637cf87a7f08723641ae253e8330a59c0bd (diff) | |
download | deluge-2104b9831c08d53ea27b80ca98deb923f04e1e9d.tar.gz deluge-2104b9831c08d53ea27b80ca98deb923f04e1e9d.tar.bz2 deluge-2104b9831c08d53ea27b80ca98deb923f04e1e9d.zip |
[Core] Fix file_renamed alert returning method
Fixed a typo that resulted in the new_name method being emitted
instead of the string.
-rw-r--r-- | deluge/core/torrentmanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 300522a7b..e54fef66a 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1511,7 +1511,7 @@ class TorrentManager(component.Component): except (RuntimeError, KeyError): return - new_name = decode_bytes(alert.new_name) + new_name = decode_bytes(alert.new_name()) log.debug('index: %s name: %s', alert.index, new_name) # We need to see if this file index is in a waiting_on_folder dict |