From e48aaeed56d495f61c62a9586b234d2a0c62c579 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 9 Jul 2015 13:43:57 +0100 Subject: [PATCH 1/2] annotations: fix 'unkown' typo --- pandora/annotation/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/annotation/views.py b/pandora/annotation/views.py index 6244411..1ce342d 100644 --- a/pandora/annotation/views.py +++ b/pandora/annotation/views.py @@ -172,7 +172,7 @@ def addAnnotation(request, data): value = Entity.get_by_name(ox.decode_html(data['value']), layer['entity']).get_id() except Entity.DoesNotExist: response = json_response({}) - response['status']['text'] = 'unkown entity' + response['status']['text'] = 'unknown entity' return render_to_json_response(response) else: value = data['value'] @@ -285,7 +285,7 @@ def editAnnotation(request, data): value = Entity.get_by_name(ox.decode_html(data['value']), layer['entity']).get_id() except Entity.DoesNotExist: response = json_response({}) - response['status']['text'] = 'unkown entity' + response['status']['text'] = 'unknown entity' return render_to_json_response(response) else: value = data[key] -- 2.4.3