Closed PANIGE closed 2 years ago
Hey! Thanks for the PR! This PR looks good and it fits the general code and organisation style we are going for. However, there is a small oversight (that doesn't need much to fix) in the folder checking and creation. The location of the .data
directory is customisable within the config under the DATA_DIR
option.
Ideally for the check, you'd want to check if that location exists first, and then if that location if populated with the correct folder structure.
Here it goes! thanks for the review, here is the fix for the folder to be configurable.
because automatically adding folders on deploying is always better than having errors and having to create them manually