Merge pull request #6540 from fluxrider/master

fix erroneous check of KIVY_NO_ENV_CONFIG
This commit is contained in:
matham 2019-09-28 13:51:48 -04:00 committed by GitHub
commit f2231330e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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