From 1ec51cec18e22dae2396289c7aff2af0f4b87bf3 Mon Sep 17 00:00:00 2001 From: John Garland Date: Wed, 19 Sep 2012 22:23:48 +1000 Subject: [PATCH] Fix copy pasta fail :( --- deluge/plugins/Execute/deluge/plugins/execute/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/Execute/deluge/plugins/execute/core.py b/deluge/plugins/Execute/deluge/plugins/execute/core.py index 928d7b248..a9cc491bc 100644 --- a/deluge/plugins/Execute/deluge/plugins/execute/core.py +++ b/deluge/plugins/Execute/deluge/plugins/execute/core.py @@ -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")