Commits

Matt Chaput  committed 4b31859

Fixed dumb typo.

  • Participants
  • Parent commits 3b6410f

Comments (0)

Files changed (1)

File src/whoosh/reading.py

         # added
         if not tis:
             raise TermNotFound(term)
-        elif len(tis) == 0:
+        elif len(tis) == 1:
             ti, offset = tis[0]
             ti._minid += offset
             ti._maxid += offset