summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcitrons <citrons>2021-08-18 06:21:38 +0000
committercitrons <citrons>2021-08-18 06:21:38 +0000
commit4dd5d48bb2c5cbbc585f24750cd64ef8c96dc482 (patch)
treecfc1b4c0353327e88a9e1452ed5d9d8f2e808985
parente27cedd558e50f64571610e2c03c6db189fff446 (diff)
the
-rw-r--r--apioforum/thread.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/apioforum/thread.py b/apioforum/thread.py
index 3311c4e..455530e 100644
--- a/apioforum/thread.py
+++ b/apioforum/thread.py
@@ -77,7 +77,6 @@ def post_jump(thread_id, post_id):
@bp.route("/<db(Thread):thread>")
@requires_permission("p_view_threads")
def view_thread(thread):
- db = get_db()
posts = thread.get_posts()
tags = thread.get_tags()