Skip to content

Commit 65e6fcb

Browse files
committed
change job_name dir to be correct directory to cat
1 parent e555212 commit 65e6fcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

batchtools/br.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def run(args: argparse.Namespace):
229229
sys.exit(f"Error occurred while creating job: {e}")
230230

231231
if args.job_delete and args.wait:
232-
subprocess.run(["cat", f"jobs/{job_name}.log"], check=True)
232+
subprocess.run(["cat", f"jobs/{job_name}/{job_name}.log"], check=True)
233233
print(f"RUNDIR: jobs/{job_name}")
234234
oc_delete("job", job_name)
235235
else:

0 commit comments

Comments
 (0)