Commits

Yuuki Ito  committed b13bcfa

qにNoneが入るのを阻止

  • Participants
  • Parent commits 60432cc
  • Branches feature/whoosh-search

Comments (0)

Files changed (1)

File src/memocurial/__init__.py

     if not q:
         pagination = Paste.query.order_by('id desc') \
                         .paginate(page, items_per_page)
+        q = ''
     else:
         searcher = Searcher(app.config['WHOOSH_ROOT'])
         pagination = Paste.query.order_by('id desc') \