From 47d94d9bd6902728e7acfdc2dea0702160a1229d Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Tue, 29 Jun 2021 18:38:02 +0200 Subject: [PATCH] Search metadata without installed google scholar working (fix #2024) --- cps/editbooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/editbooks.py b/cps/editbooks.py index 17a01b4f..fbfc4483 100644 --- a/cps/editbooks.py +++ b/cps/editbooks.py @@ -1086,7 +1086,7 @@ def scholar_search(query): break return Response(json.dumps(result),mimetype='application/json') else: - return [] + return "[]" @editbook.route("/ajax/editbooks/", methods=['POST']) @login_required_if_no_ano