Made a change to the subprocess call to hopefully stop the json error until I can figure that out. Also added the templates directory to the Dockerfile

This commit is contained in:
2020-03-27 00:25:25 -04:00
parent 8a0b81f6a6
commit 4118686ec1
2 changed files with 4 additions and 2 deletions

View File

@@ -61,8 +61,9 @@ def download():
# os.system(execute)
# exec_command = subprocess.Popen(execute, stdout=subprocess.PIPE)
book['output'] = exec_command.communicate()
print(exec_command.args)
# book['output'] = exec_command.communicate()
exec_command.communicate()
book['command'] = exec_command.args
updated.append(book)