diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 17:12:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 17:12:15 +0200 |
| commit | d349e62cf53eda4b1a6b3cdc75ae9302dc2d4d5d (patch) | |
| tree | 84a978c41c2c585b68a3eee3048785b5c3f60d6c /check/app | |
| parent | ece8612b7077d1a71de21badb43d94b8af3ab10a (diff) | |
browse by clicking results
Diffstat (limited to 'check/app')
| -rw-r--r-- | check/app/server/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
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, }) |
