Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Make func compatible with unicode

Adam Bogdała3ae77e1d04b
diff --git a/saleor/settings.py b/saleor/settings.py
index 816330b68b..f9a5c39421 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -10,7 +10,7 @@ import django_cache_url
def get_list(text):
- return map(str.strip, text.split(','))
+ return [item.strip() for item in text.split(',')]
DEBUG = ast.literal_eval(os.environ.get('DEBUG', 'True'))