Skip to content
Snippets Groups Projects
Commit ef3ef389 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: fix variable name

parent 407c8ce7
No related branches found
No related tags found
2 merge requests!39Release 0.4.0,!20created draft for generic analysis method
Pipeline #16683 failed
......@@ -147,11 +147,11 @@ def call_script(script_name, record_id):
#print("Running: "+" ".join(cmd))
#logger.debug("Running: "+" ".join(cmd))
#ret = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print(ret.stdout)
print(ret.stderr)
if ret.returncode != 0:
if ret.code != 0:
logger.warning("Script failed")
logger.debug(ret.stdout)
logger.debug(ret.stderr)
def run(dataAnalysisRecord: db.Record):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment