commit 4f69e396ef8299946043471e7a3ad7fea8e742b3
parent d54e65a4cdea4f14390c395472da1ac498be28ea
Author: Natalie Pendragon <natpen@natpen.net>
Date: Mon, 16 Nov 2020 07:47:53 -0500
[serve] Fix index closing when program is killed
This got broken during the recent commit to put search functionality
in the search.py Index class
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/serve/main.py b/serve/main.py
@@ -40,7 +40,7 @@ def main():
try:
server.run()
finally:
- gus.searcher.close()
+ gus.index.close()
if __name__ == "__main__":