We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a01d894 commit 806b6b2Copy full SHA for 806b6b2
src/server/_limiter.py
@@ -58,7 +58,7 @@ def get_multiples_count(request):
58
vals = multiples.get(k)(k)
59
if len(vals) >= 2:
60
multiple_selection_allowed -= 1
61
- elif len(vals) and isinstance(vals, Sequence) and isinstance(vals[0], tuple):
+ elif len(vals) and isinstance(vals, list) and isinstance(vals[0], tuple):
62
# else we have one val which is a tuple, representing a range, and thus is a "multiple"
63
64
except ValidationFailedException:
0 commit comments