API - make DEFAULT_STATICMAP case insensitive

This commit is contained in:
Sam 2022-07-13 08:54:09 +02:00
parent 048bad3f92
commit 66a24b3f4f

View File

@ -43,7 +43,7 @@ class BaseConfig:
' contributors', ' contributors',
), ),
'DEFAULT_STATICMAP': ( 'DEFAULT_STATICMAP': (
os.environ.get('DEFAULT_STATICMAP', 'False') == 'True' os.environ.get('DEFAULT_STATICMAP', 'false').lower() == 'true'
), ),
} }
TRANSLATIONS_FOLDER = os.path.join( TRANSLATIONS_FOLDER = os.path.join(