fix: black

This commit is contained in:
Javier Martinez 2024-07-31 13:48:09 +02:00
parent b927165def
commit fe2f61c7f8
No known key found for this signature in database

View file

@ -26,8 +26,10 @@ class LocalIngestWorker:
def _validate_folder(self, folder_path: Path) -> None: def _validate_folder(self, folder_path: Path) -> None:
if not self.is_local_ingestion_enabled: if not self.is_local_ingestion_enabled:
raise ValueError("Local ingestion is disabled." raise ValueError(
"You can enable it in settings `ingestion.enabled`") "Local ingestion is disabled."
"You can enable it in settings `ingestion.enabled`"
)
# Allow all folders if wildcard is present # Allow all folders if wildcard is present
if "*" in self.allowed_local_folders: if "*" in self.allowed_local_folders: