This commit is contained in:
Aevann1 2021-09-24 04:47:44 +02:00
parent 3355cd8442
commit 0b72a8ef22

View file

@ -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: