aboutsummaryrefslogtreecommitdiff
path: root/app/tasks/forumtasks.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-02 18:32:07 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-02 18:32:07 +0100
commita6f4249afb7018c43e69a7e7c7e69e53bf04aa8d (patch)
treebca89b38ddcc7eca3a7055b3a9e20cae4adb5abb /app/tasks/forumtasks.py
parent70afb94d3b985e314ff1f922294875e43c56fefc (diff)
downloadcheatdb-a6f4249afb7018c43e69a7e7c7e69e53bf04aa8d.tar.xz
Increase link string length limit
Diffstat (limited to 'app/tasks/forumtasks.py')
-rw-r--r--app/tasks/forumtasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tasks/forumtasks.py b/app/tasks/forumtasks.py
index a0339b0..b2e0ca8 100644
--- a/app/tasks/forumtasks.py
+++ b/app/tasks/forumtasks.py
@@ -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