mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
Fix copy pasta fail :(
This commit is contained in:
parent
ec3d698a14
commit
7b9bca0957
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user