From df88c82265f7b39d4d4087588f3dc58a566c8bf8 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/execute/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/execute/execute/core.py b/deluge/plugins/execute/execute/core.py index 31ae67467..842a29f4a 100644 --- a/deluge/plugins/execute/execute/core.py +++ b/deluge/plugins/execute/execute/core.py @@ -142,7 +142,7 @@ class Core(CorePluginBase): command = os.path.expanduser(command) cmd_args = [torrent_id, torrent_name, save_path] - if windows_check: + if windows_check(): # Escape ampersand on windows (see #2784) cmd_args = [arg.replace("&", "^^^&") for arg in cmd_args]