Commits

Matt Chaput  committed 339530c

Corrected attribute name. Fixes issue #262. Thanks Roger!

  • Participants
  • Parent commits 4eddae8
  • Branches 2.4x

Comments (0)

Files changed (1)

File src/whoosh/codec/legacy.py

         if postingsize == 0:
             return [None] * self.count
         else:
-            offset = self.dataoffset + self.idslen + self.weightslen
+            offset = self.dataoffset + self.idslen + self.wtslen
             self.postfile.seek(offset)
             string = self.postfile.read(self.nextoffset - offset)
             return deminimize_values(postingsize, self.count, string, self.cmp)