From c6500a94222f63a3e518d80e901304878fe84e06 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Mon, 20 Dec 2021 11:50:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tag=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hole.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hole.py b/hole.py index ead997d..2d8ebc0 100644 --- a/hole.py +++ b/hole.py @@ -250,6 +250,7 @@ def do_post(): ) db.session.add(p) + db.session.commit() tags = re.findall('(^|\\s)#([^#\\s]{1,32})', content) for t in tags: