Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 5, 2024
1 parent 2beae16 commit c364194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chord_drs/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def object_ingest():
drs_object: DrsBlob | None = None # either the new object, or the object to fully reuse
object_to_copy: DrsBlob | None = None

tfh, t_obj_path = tempfile.mkstemp(dir=current_app.config.DRS_INGEST_TMP_DIR)
tfh, t_obj_path = tempfile.mkstemp(dir=current_app.config["DRS_INGEST_TMP_DIR"])
try:
filename: str | None = None # no override, use path filename if path is specified instead of a file upload
if file is not None:
Expand Down

0 comments on commit c364194

Please sign in to comment.