mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
fix descriptions
This commit is contained in:
parent
30bae5de10
commit
8872d15499
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue