Increase link string length limit

This commit is contained in:
rubenwardy
2018-06-02 18:32:07 +01:00
parent 70afb94d3b
commit a6f4249afb
3 changed files with 36 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ def importKrocksModList():
tags = re.findall("\[([a-z0-9_]+)\]", x["title"])
name = None
for tag in reversed(tags):
if len(tag) < 50 and not tag in BANNED_NAMES and \
if len(tag) < 30 and not tag in BANNED_NAMES and \
not re.match("^([a-z][0-9]+)$", tag):
name = tag
break