Commits

bbc2  committed 83ae2db

Fix parser plugins overriding

  • Participants
  • Parent commits b5b6848

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)