-
Notifications
You must be signed in to change notification settings - Fork 6
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
data should be stored in a local place #41
Comments
Heyo! I am not quite sure what you mean by local place in this one, but am happy to fix it! |
So currently we have: data_file = os.getcwd() + '/var/data.json' which for me translates to a
Do you think that we should instead store it somewhere completely outside of the codebase? We could portably do so (so that it works even on Windows) using from os.path import expanduser
...
home = expanduser("~")
data_file = home + '/data.json' |
I think the problem I'm worried about is that |
Ahhh! Makes perfect sense, and nice observation! Do you think storing data in the user's home dir is a good approach to resolve this? |
maybe remove the call to os.getcwd
The text was updated successfully, but these errors were encountered: