From c771bd32b1e558e2e42adab0d19e978f1239492c Mon Sep 17 00:00:00 2001 From: Krishna-Baldwa Date: Sat, 28 Oct 2023 17:33:43 +0530 Subject: [PATCH] Lint --- helpers/misc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/helpers/misc.py b/helpers/misc.py index cb902838..7ff6f58e 100644 --- a/helpers/misc.py +++ b/helpers/misc.py @@ -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