fix descriptions

This commit is contained in:
root 2025-02-17 20:26:38 +01:00
parent 30bae5de10
commit 8872d15499

View file

@ -142,7 +142,7 @@ def IsDescriptionValid(desc:str)->bool:
"""
if desc == "":
return True
pattern = re.compile("^[A-Za-z0-9-.,' \"]+$")
pattern = re.compile("^[A-Za-z0-9-.,' \"\(\)\/]+$")
desc = str(desc)
desc.strip()
if pattern.fullmatch(desc) is None: