Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use literal_eval for the bool variable
Adam Bogdał3daa9173a4f2
diff --git a/saleor/settings.py b/saleor/settings.pyindex e6751baf7b..e8ca2993e8 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -39,7 +39,7 @@ EMAIL_HOST = os.environ.get('EMAIL_HOST')EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')EMAIL_PORT = os.environ.get('EMAIL_PORT')-EMAIL_USE_TLS = bool(os.environ.get('EMAIL_USE_TLS', False))+EMAIL_USE_TLS = ast.literal_eval(os.environ.get('EMAIL_USE_TLS', False))DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL')