Skip to content

Commit

Permalink
fix: black
Browse files Browse the repository at this point in the history
  • Loading branch information
jaluma committed Jul 31, 2024
1 parent b927165 commit fe2f61c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ingest_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ def __init__(self, ingest_service: IngestService, setting: Settings) -> None:

def _validate_folder(self, folder_path: Path) -> None:
if not self.is_local_ingestion_enabled:
raise ValueError("Local ingestion is disabled."
"You can enable it in settings `ingestion.enabled`")
raise ValueError(
"Local ingestion is disabled."
"You can enable it in settings `ingestion.enabled`"
)

# Allow all folders if wildcard is present
if "*" in self.allowed_local_folders:
Expand Down

0 comments on commit fe2f61c

Please sign in to comment.