Skip to content

Commit

Permalink
Remove error on the s3 folder
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Aug 21, 2024
1 parent de88aef commit 43ae457
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hypha/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,6 @@ async def list_files(
items = await list_objects_async(
s3_client, self.workspace_bucket, full_path, max_length=max_length
)
if len(items) == 0:
raise Exception(f"Directory does not exists: {path}")

return items

async def generate_presigned_url(
Expand Down

0 comments on commit 43ae457

Please sign in to comment.