FIX:(#1201) Another attempt to get mylar to pass the properly formatted paths to CT when Meta-Tagging

This commit is contained in:
evilhero 2016-02-03 14:05:39 -05:00
parent 37dcfcceba
commit bbcd4ea82a
1 changed files with 2 additions and 2 deletions

View File

@ -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))