From bbcd4ea82a629493f6b63528ea5b3ed68eb87283 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 3 Feb 2016 14:05:39 -0500 Subject: [PATCH] FIX:(#1201) Another attempt to get mylar to pass the properly formatted paths to CT when Meta-Tagging --- mylar/cmtagmylar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mylar/cmtagmylar.py b/mylar/cmtagmylar.py index 33b489a3..98349012 100644 --- a/mylar/cmtagmylar.py +++ b/mylar/cmtagmylar.py @@ -220,10 +220,10 @@ def run(dirName, nzbName=None, issueid=None, comversion=None, manual=None, filen logger.info(module + ' ' + tagdisp + ' meta-tagging processing started.') - currentScriptName = sys.executable + ' ' + str(comictagger_cmd).decode("string_escape") + currentScriptName = [sys.executable, comictagger_cmd] logger.fdebug(module + ' Enabling ComicTagger script: ' + str(currentScriptName) + ' with options: ' + str(f_tagoptions)) # generate a safe command line string to execute the script and provide all the parameters - script_cmd = shlex.split(currentScriptName, posix=False) + f_tagoptions + script_cmd = currentScriptName + f_tagoptions # use subprocess to run the command and capture output logger.fdebug(module + ' Executing command: ' +str(script_cmd))