Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Baldwa committed Oct 28, 2023
1 parent d7a42f4 commit c771bd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions helpers/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ def query_from_num(request, default_num, queryset):
if num_q is not None and str.isdigit(num_q) and int(num_q) <= 100:
num = int(num_q)

return queryset[from_i : from_i + num]


return queryset[from_i: from_i + num]

def query_search( # pylint: disable=too-many-arguments
request, min_length, queryset, fields, collection, order_relevance=False
Expand Down

0 comments on commit c771bd3

Please sign in to comment.