diff --git a/app/backend/prepdocslib/listfilestrategy.py b/app/backend/prepdocslib/listfilestrategy.py index 7302bc7ed8..b2f6783609 100644 --- a/app/backend/prepdocslib/listfilestrategy.py +++ b/app/backend/prepdocslib/listfilestrategy.py @@ -111,7 +111,7 @@ async def list(self) -> AsyncGenerator[File, None]: acls = {"oids": ["all"], "groups": ["all"]} if self.enable_global_documents else {} async for path in self.list_paths(): if not self.check_md5(path): - yield File(content=open(path, mode="rb"), acls=acls, url=path) + yield File(content=open(path, mode="rb"), acls=acls) def check_md5(self, path: str) -> bool: # if filename ends in .md5 skip