[Core] Fix file_renamed alert returning method

Fixed a typo that resulted in the new_name method being emitted
instead of the string.
This commit is contained in:
Calum Lind 2018-11-02 09:00:42 +00:00
parent e7127637cf
commit 2104b9831c
1 changed files with 1 additions and 1 deletions

View File

@ -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