diff --git a/pandora/annotation/views.py b/pandora/annotation/views.py index 6244411e..1ce342d3 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]