summaryrefslogtreecommitdiff
path: root/manage.py
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-02-12 17:05:55 +0100
committerxengineering <mail2xengineering@protonmail.com>2021-02-12 17:05:55 +0100
commit9e6ae70d26f5c48e9ef6a9d328709bb618304469 (patch)
tree6c409f4e38b1ac92d45c1bbcfdcdf16f00a48c88 /manage.py
parentf36e1a635e0611a0783cf232ba7a70ca0fa87f2f (diff)
downloadweb-template-9e6ae70d26f5c48e9ef6a9d328709bb618304469.tar
web-template-9e6ae70d26f5c48e9ef6a9d328709bb618304469.tar.zst
web-template-9e6ae70d26f5c48e9ef6a9d328709bb618304469.zip
Update regex for webroot
Diffstat (limited to 'manage.py')
-rw-r--r--manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index 60d2f53..c293106 100644
--- a/manage.py
+++ b/manage.py
@@ -37,7 +37,7 @@ def read_settings():
sys.exit(1)
# check for valid webroot path
- if not re.match(r"\A(/[a-z|A-Z|0-9|_|-]*)+\Z", settings["webroot"]):
+ if not re.match(r"\A(/[a-z|A-Z|0-9|_|-|\.]*)+\Z", settings["webroot"]):
print("Please select an absolute and valid path as webroot in settings.json")
sys.exit(1)