diff options
-rw-r--r-- | apioforum/thread.py | 1 |
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() |