Skip to content

Commit

Permalink
download-agency should look in configured dirs for metadata (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Stucka <stucka@whitedoggies.com>
tarakc02 and stucka authored Jan 15, 2025
1 parent 51bb732 commit 014e4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean/runner.py
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ def download_agency(self, agency_slug: str) -> Path:
"""
state, slug = self._validate_agency_slug(agency_slug)
# Define the path to the JSON file
json_path = Path.home() / f".clean-scraper/exports/{agency_slug}.json"
json_path = self.data_dir / f"{agency_slug}.json"

# Load the JSON file
with open(json_path) as f:

0 comments on commit 014e4ed

Please sign in to comment.