Skip to content

Commit

Permalink
Fix comical bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgay committed Jul 16, 2013
1 parent 585b39e commit 6000d62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tahrir_api/dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ def get_assertions_by_badge(self, badge_id):

if self.badge_exists(badge_id):
return self.session.query(Assertion).filter(
func.lower(badge_id) == func.lower(badge_id)).all()
func.lower(Assertion.badge_id) ==\
func.lower(badge_id)).all()
else:
return False

Expand Down

0 comments on commit 6000d62

Please sign in to comment.