Skip to content
Snippets Groups Projects

fix typo in inspector endpoint

Merged Charlotte Hausman requested to merge 2.5_fixes into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -137,6 +137,7 @@ class MonitorRecover:
f"Results directory {results_dir} for request #{wf_request.workflow_request_id} "
f"is not a directory! Skipping."
)
# signal not a directory with current location
return Path(".")
@staticmethod
@@ -148,7 +149,8 @@ class MonitorRecover:
:param wf_request: The WorkflowRequest to update
:return:
"""
if logfile == Path.cwd():
# because for some reason these are not the same....
if logfile == Path.cwd() or logfile == Path("."):
return
logger.info("Running wf_monitor.")
Loading