diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-02-12 17:05:55 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-02-12 17:05:55 +0100 |
commit | 9e6ae70d26f5c48e9ef6a9d328709bb618304469 (patch) | |
tree | 6c409f4e38b1ac92d45c1bbcfdcdf16f00a48c88 /manage.py | |
parent | f36e1a635e0611a0783cf232ba7a70ca0fa87f2f (diff) | |
download | web-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |