Commits

Matt Chaput  committed 7fd740c

Fixed outdated reference in AsyncWriter. Fixes issue #129.

  • Participants
  • Parent commits 8c27aa3

Comments (0)

Files changed (1)

File src/whoosh/writing.py

         writer = self.writer
         while writer is None:
             try:
-                writer = self.writerfn(**self.writerargs)
+                writer = self.index.writer(**self.writerargs)
             except LockError:
                 time.sleep(self.delay)
         for method, args, kwargs in self.events: