Skip to content

Commit

Permalink
#2: Remove repeated arg
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Jul 22, 2019
1 parent a9c83d7 commit ed6ebd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_rows_by_filter(table, filters):
where_part = query_filter[key]
for k in where_part:
column = getattr(table, k.upper())
base_query = base_query.filter(column.in_([where_part[k]]), column.in_([where_part[k]]))
base_query = base_query.filter(column.in_([where_part[k]]))
elif list(query_filter)[0].lower() == "order":
for key in query_filter:
field = query_filter[key].split(" ")[0]
Expand Down

0 comments on commit ed6ebd8

Please sign in to comment.