aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-14 07:31:41 +0300
committerBonfaceKilz2021-10-19 10:12:51 +0300
commit546b37e77c11c5268aa9510b9756f2ed4d60241d (patch)
treeab4a6faa0ee3f1ccd8d6c206d0e06a5f6c7095da /gn3/settings.py
parenta7fbce242f6683d66452ff02e541aa9b28908f39 (diff)
downloadgenenetwork3-546b37e77c11c5268aa9510b9756f2ed4d60241d.tar.gz
Fix some linting issues
Diffstat (limited to 'gn3/settings.py')
-rw-r--r--gn3/settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py
index 56ddaba..d5f1d3c 100644
--- a/gn3/settings.py
+++ b/gn3/settings.py
@@ -36,6 +36,7 @@ GENOTYPE_FILES = os.environ.get(
# CROSS-ORIGIN SETUP
def parse_env_cors(default):
+ """Parse comma-separated configuration into list of strings."""
origins_str = os.environ.get("CORS_ORIGINS", None)
if origins_str:
return [