Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make default paths more robust #103

Open
trevorspreadbury opened this issue Apr 30, 2024 · 0 comments
Open

make default paths more robust #103

trevorspreadbury opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@trevorspreadbury
Copy link
Contributor

# 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants