Skip to content

Commit

Permalink
add easy to use env support
Browse files Browse the repository at this point in the history
  • Loading branch information
MajoBerger committed Mar 6, 2024
1 parent 4dd75e1 commit 8051c8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/create_bitstreams/create_bitstreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

# env settings, update with project_settings
env = update_settings(settings.env, project_settings.settings)
# abcd = os.getenv(")
if "DSPACE_REST_API" in os.environ:
env["backend"]["endpoint"] = os.getenv("DSPACE_REST_API")
init_logging(_logger, env["log_file"])

MULTIPART_CONTENT_TYPE = 'multipart/form-data'
Expand Down

0 comments on commit 8051c8c

Please sign in to comment.