Switch to side-by-side view
--- a/webui.py +++ b/webui.py @@ -240,6 +240,11 @@ for i in range(config['perpage']): try: doc = query.fetchone() + # Later Recoll versions return None at EOL instead of + # exception This change restores conformance to PEP 249 + # Python Database API Specification + if not doc: + break except: break d = {}