mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +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 == "":
|
if desc == "":
|
||||||
return True
|
return True
|
||||||
pattern = re.compile("^[A-Za-z0-9-.,' \"]+$")
|
pattern = re.compile("^[A-Za-z0-9-.,' \"\(\)\/]+$")
|
||||||
desc = str(desc)
|
desc = str(desc)
|
||||||
desc.strip()
|
desc.strip()
|
||||||
if pattern.fullmatch(desc) is None:
|
if pattern.fullmatch(desc) is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue