mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix copy pasta fail :(
This commit is contained in:
parent
2531271fe2
commit
1ec51cec18
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue