From 6de2813c3d1c09553df4d2015f669d9d7f8d3c45 Mon Sep 17 00:00:00 2001 From: bendikro Date: Mon, 31 Oct 2016 20:20:44 +0100 Subject: [PATCH] [#2784] Fix typo in bugfix 5f92810f --- 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 6fc257138..cdd2a2c19 100644 --- a/deluge/plugins/Execute/deluge/plugins/execute/core.py +++ b/deluge/plugins/Execute/deluge/plugins/execute/core.py @@ -119,7 +119,7 @@ class Core(CorePluginBase): command = os.path.expanduser(command) cmd_args = [torrent_id, torrent_name, download_location] - if windows_check: + if windows_check(): # Escape ampersand on windows (see #2784) cmd_args = [cmd_arg.replace("&", "^^^&") for cmd_arg in cmd_args]