#969: generate txt files during publication
[wolnelektury.git] / apps / suggest / views.py
index 4ad1704..ac45cea 100644 (file)
@@ -11,7 +11,7 @@ from suggest import forms
 from suggest.models import Suggestion
 
 # FIXME - shouldn't be in catalogue
 from suggest.models import Suggestion
 
 # FIXME - shouldn't be in catalogue
-from catalogue.views import LazyEncoder 
+from catalogue.views import LazyEncoder
 
 
 #@require_POST
 
 
 #@require_POST
@@ -31,5 +31,4 @@ def report(request):
         response_data = {'success': True, 'message': _('Report was sent successfully.')}
     else:
         response_data = {'success': False, 'errors': suggest_form.errors}
         response_data = {'success': True, 'message': _('Report was sent successfully.')}
     else:
         response_data = {'success': False, 'errors': suggest_form.errors}
-    print LazyEncoder(ensure_ascii=False).encode(response_data)
     return HttpResponse(LazyEncoder(ensure_ascii=False).encode(response_data))
     return HttpResponse(LazyEncoder(ensure_ascii=False).encode(response_data))