Skip to content

Commit

Permalink
Merge pull request #12 from eea/fix-dep-and-typo
Browse files Browse the repository at this point in the history
Fix dep and typo
  • Loading branch information
tiberiuichim committed Apr 6, 2022
2 parents c00492d + 377e8a3 commit 83a7697
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def startup_tests():
fast_app.add_event_handler("startup", startup_tests)
fast_app.add_event_handler("shutdown", stop_app_handler(fast_app))

static_media_path = os.env.get("STATIC_MEDIA")
static_media_path = os.environ.get("STATIC_MEDIA")
if static_media_path:
if not os.path.exists(static_media_path):
os.mkdir(static_media_path)
Expand Down
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
aiofiles # Used by starlette but not correctly declared as dependency
aiocontextvars
contextvars
farm-haystack
Expand Down
1 change: 1 addition & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
absl-py==1.0.0
aiocontextvars==0.2.2
aiofiles==0.8.0
alembic==1.4.1
anyio==3.5.0
asgiref==3.5.0
Expand Down

0 comments on commit 83a7697

Please sign in to comment.