mirror of
https://github.com/evilhero/mylar
synced 2025-02-02 04:21:43 +00:00
FIX:(#1201) Another attempt to get mylar to pass the properly formatted paths to CT when Meta-Tagging
This commit is contained in:
parent
37dcfcceba
commit
bbcd4ea82a
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue