From dce949d77400e884e94ec276d45357f3d557581e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Sep 2021 04:47:44 +0200 Subject: [PATCH] fsd --- files/routes/posts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/posts.py b/files/routes/posts.py index bbf4b9d1a1..fe370c153d 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1012,6 +1012,7 @@ def submit_post(v): if "rdrama" in request.host or (new_post.url and not "weebzone" in request.host and not "marsey.tech" in request.host): new_post.comment_count = 1 g.db.add(new_post) + g.db.flush() if "rdrama" in request.host: if v.id == 995: