Permalink
Browse files

stuff

git-svn-id: http://svn.albertsun.info/copress/copressmoney@371 ab9cdc8a-c177-4a5d-8397-7951b204a726
  • Loading branch information...
1 parent 0579360 commit 148dce05a60741b15b28b83d03a10a01c3793652 admin committed Jan 18, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 ledger/views.py
View
@@ -240,7 +240,8 @@ def add_sale(request):
lines = form.save()
#form should return a JSON representation of the new lines that have to be added, OR of errors
return HttpResponse(simplejson.dumps(lines))
- raise Http404
+ else:
+ raise Http404
else:
raise Http404

0 comments on commit 148dce0

Please sign in to comment.