Fix copy pasta fail :(

This commit is contained in:
John Garland 2012-09-19 22:23:48 +10:00
parent 2531271fe2
commit 1ec51cec18
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Core(CorePluginBase):
save_path = info["save_path"]
# getProcessOutputAndValue requires args to be str
if isinstance(torrent_name, unicode):
if isinstance(torrent_id, unicode):
torrent_id = torrent_id.encode("utf-8", "ignore")
if isinstance(torrent_name, unicode):
torrent_name = torrent_name.encode("utf-8", "ignore")