Fix copy pasta fail :(

This commit is contained in:
John Garland 2012-09-19 22:23:48 +10:00
parent ec3d698a14
commit 7b9bca0957

View File

@ -109,7 +109,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")