Skip to content

Commit

Permalink
Bounds checking correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Dec 22, 2022
1 parent 4a10985 commit 7fb9dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/dispatch/core/crumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _make(cls, iterable, new=tuple.__new__, len=len):

result = new(cls, iterable)

if 3 < len(result) < 7:
if 3 > len(result) > 7:
raise TypeError('Expected 4-6 arguments, got %d' % len(result))

return result
Expand Down

0 comments on commit 7fb9dbd

Please sign in to comment.