Open ZSSchulze opened 7 years ago
A) Why not create a PR? B) Tested it. Output in template file is %s
Sorry correct string is
subprocess.check_output("replace INSERTDIRBSCAN \"" + "{0}".format(data) + "\" -- " + path, shell=True)
And I will create a PR I guess.
You don't need to apologize. I thought I d' ask. :) Thanks!
Tried this fix, but still getting "Argument list too long" in my errors output. My line currently reads as:
subprocess.check_output("replace INSERTDIRBSCAN \"" + "{0}".format(data) + "\" -- " + path, shell=True)
When trying to write dirt results to file you get argument list to long. Fix it with below code
Old Code
subprocess.check_output("replace INSERTDIRBSCAN \"" + data + "\" -- " + path, shell=True)
Fixed Code
subprocess.check_output("replace INSERTDIRBSCAN \"" + "%s".format(data) + "\" -- " + path, shell=True)