Skip to content

Commit

Permalink
Merge pull request #133 from MOV-AI/dev
Browse files Browse the repository at this point in the history
Version 2.4.1.28
  • Loading branch information
erezz-mov-ai authored Jun 18, 2023
2 parents 923cf05 + f5b42d7 commit 35c6318
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/endpoints/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ async def get_static_file(self, request: web.Request) -> web.Response:
None, self._fetch_file_from_redis, package_name, package_file
)

if output is None:
raise web.HTTPNotFound()
if not output:
raise web.HTTPNotFound(reason=f"package:{package_name}, file:{package_file}")

# guess content type
content_type = guess_type(package_file)[0]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"PyYAML==5.1.2",
"requests==2.22.0",
"movai-core-shared==2.4.1.16",
"data-access-layer==2.4.1.27",
"data-access-layer==2.4.1.28",
"gd-node==2.4.1.16",
]

Expand Down

0 comments on commit 35c6318

Please sign in to comment.