Skip to content

Commit

Permalink
Update end_of_run_export.py
Browse files Browse the repository at this point in the history
Fixed mistake in makedirs kwargs
  • Loading branch information
cjtitus authored Nov 5, 2024
1 parent 3db88fd commit 82573a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion end_of_run_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def export_all_streams(uid, beamline_acronym="ucal"):
logger.info(f"Export Data to {export_path}")
export_path_exists = exists(export_path)
if not export_path_exists:
os.makedirs(export_path, exists_ok=True)
os.makedirs(export_path, exist_ok=True)
logger.info(f"Export path does not exist, making {export_path}")

header, data = get_header_and_data(run)
Expand Down

0 comments on commit 82573a1

Please sign in to comment.