summaryrefslogtreecommitdiffhomepage
path: root/apioforum/forum.py
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/forum.py')
-rw-r--r--apioforum/forum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/forum.py b/apioforum/forum.py
index 56811e0..1da6d27 100644
--- a/apioforum/forum.py
+++ b/apioforum/forum.py
@@ -45,7 +45,7 @@ def view_forum():
# todo: make this not be duplicated from thread.py
poll_row= db.execute("""
SELECT polls.*,total_vote_counts.total_votes FROM polls
- LEFT OUTER JOIN total_vote_counts ON polls.id = total_vote_counts.poll
+ LEFT OUTER JOIN total_vote_counts ON polls.id = total_vote_counts.poll
WHERE polls.id = ?;
""",(thread['poll'],)).fetchone()
options = db.execute("""