Fix copy pasta fail :(
This commit is contained in:
parent
2531271fe2
commit
1ec51cec18
|
@ -111,7 +111,7 @@ class Core(CorePluginBase):
|
||||||
save_path = info["save_path"]
|
save_path = info["save_path"]
|
||||||
|
|
||||||
# getProcessOutputAndValue requires args to be str
|
# getProcessOutputAndValue requires args to be str
|
||||||
if isinstance(torrent_name, unicode):
|
if isinstance(torrent_id, unicode):
|
||||||
torrent_id = torrent_id.encode("utf-8", "ignore")
|
torrent_id = torrent_id.encode("utf-8", "ignore")
|
||||||
if isinstance(torrent_name, unicode):
|
if isinstance(torrent_name, unicode):
|
||||||
torrent_name = torrent_name.encode("utf-8", "ignore")
|
torrent_name = torrent_name.encode("utf-8", "ignore")
|
||||||
|
|
Loading…
Reference in New Issue