mirror of https://github.com/kivy/kivy.git
Merge pull request #6540 from fluxrider/master
fix erroneous check of KIVY_NO_ENV_CONFIG
This commit is contained in:
commit
f2231330e4
|
@ -906,7 +906,7 @@ if not environ.get('KIVY_DOC_INCLUDE'):
|
|||
Logger.exception('Core: Error while saving default config file')
|
||||
|
||||
# Load configuration from env
|
||||
if environ.get('KIVY_NO_ENV_CONFIG', '0') != '0':
|
||||
if environ.get('KIVY_NO_ENV_CONFIG', '0') != '1':
|
||||
for key, value in environ.items():
|
||||
if not key.startswith("KCFG_"):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue