From 2104b9831c08d53ea27b80ca98deb923f04e1e9d Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 2 Nov 2018 09:00:42 +0000 Subject: [PATCH] [Core] Fix file_renamed alert returning method Fixed a typo that resulted in the new_name method being emitted instead of the string. --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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