From 7801cb81a0b20635f417021cd0ca998cf4dbcbdc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 14 Aug 2021 04:29:17 +0200 Subject: [PATCH] fdfd --- files/helpers/get.py | 5 +---- files/templates/submission.html | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/files/helpers/get.py b/files/helpers/get.py index f8458764e..05644fa5a 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -155,10 +155,7 @@ def get_posts(pids, v=None): output[i]._is_blocking = query[i][2] or 0 output[i]._is_blocked = query[i][3] or 0 else: - output = g.db.query( - Submission, - ).filter(Submission.id.in_(pids) - ).all() + output = g.db.query(Submission,).filter(Submission.id.in_(pids)).all() return sorted(output, key=lambda x: pids.index(x.id)) diff --git a/files/templates/submission.html b/files/templates/submission.html index d372ca0a3..e658fadf4 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -284,7 +284,7 @@
- +