Commits

Matt Chaput  committed 19136ac Merge

Merged in bbc2/whoosh (pull request #51): Fix parser plugins overriding

  • Participants
  • Parent commits 62a4d1b, 83ae2db

Comments (0)

Files changed (1)

File src/whoosh/qparser/default.py

         self.group = group
         self.plugins = []
 
-        if not plugins:
+        if plugins is None:
             plugins = self.default_set()
         self._add_ws_plugin()
         self.add_plugins(plugins)