Commits

Matt Chaput committed eb54b2c

Minor redundant logic fix. See issue #181.

  • Participants
  • Parent commits 58cf479

Comments (0)

Files changed (1)

File src/whoosh/matching.py

         if minquality:
             a_max = a.max_quality()
             b_max = b.max_quality()
-            if minquality and a_max + b_max < minquality:
+            if a_max + b_max < minquality:
                 # If the combined quality of the sub-matchers can't contribute,
                 # return an inactive matcher
                 return NullMatcher()