lists: do not create user dir, done by smolcgi

This commit is contained in:
dece 2022-01-24 18:06:57 +01:00
parent d0154c4a40
commit 2a2c834886

4
lists
View file

@ -8,10 +8,6 @@ from pathlib import Path
import smolcgi as scgi
scgi.require_client_cert()
STORAGE_PATH = Path("/home/gemini/storage/lists")
if not STORAGE_PATH.exists():
STORAGE_PATH.mkdir(parents=True)
ALLOWED_LIST_NAME_CHARS = string.ascii_lowercase + string.digits + "_"