Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

conf.LOGIN_DATA_STORE_PATH.value = None #101

Answered by markusressel
Xornop asked this question in Q&A
Discussion options

You must be logged in to vote

since the init.py says "None" you can't change the setting in a configuration file, right?

I am not sure what __init__.py you refer to, there is no such file in the project that contains anything about the LOGIN_DATA_STORE_PATH configuration option. But answering the question: yes you can change the setting in the file if you use the CLI or the Api without explicitly and manually creating a Config object instance and passing it to the Api instance. There is no hardcoded "None" value for this setting, its just the default. But it is only a default, you can of course change it to something else. Otherwise it shouldn't even be a setting afterall.

The configuration file that should be used …

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@Xornop
Comment options

Comment options

You must be logged in to vote
8 replies
@markusressel
Comment options

@Xornop
Comment options

@Xornop
Comment options

@markusressel
Comment options

@Xornop
Comment options

Answer selected by Xornop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants