uchicago-dsi / climate-cabinet-campaign-finance-tracker

1 stars 2 forks source link

make default paths more robust #103

Open trevorspreadbury opened 6 months ago

trevorspreadbury commented 6 months ago
# TODO: make default paths more robust

This will work on the docker container where our path is always the same, but once this is published as a python package, this would break. To make it work in both cases, use the BASE_FILEPATH constant to make it relative to the repo root. https://github.com/dsi-clinic/2024-winter-climate-cabinet-campaign-finance-tracker/blob/ce20311b545901e6c5808be9c79979104fd37612/src/utils/network.py#L422