From d349e62cf53eda4b1a6b3cdc75ae9302dc2d4d5d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 28 Apr 2019 17:12:15 +0200 Subject: browse by clicking results --- check/app/server/api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'check') diff --git a/check/app/server/api.py b/check/app/server/api.py index f214696..f007314 100644 --- a/check/app/server/api.py +++ b/check/app/server/api.py @@ -81,6 +81,7 @@ def match(): return jsonify({ 'success': False, 'match': False, + 'added': False, 'error': error, }) @@ -106,6 +107,7 @@ def match(): return jsonify({ 'success': True, 'match': match, + 'added': not match, 'results': results, 'timing': time.time() - start, }) -- cgit v1.2.3-70-g09d2