Fix #5440 - Typo in blog views
authorAndrew Browning <ayleph@thisshitistemp.com>
Mon, 7 Mar 2016 00:47:17 +0000 (19:47 -0500)
committerAndrew Browning <ayleph@thisshitistemp.com>
Mon, 7 Mar 2016 00:47:17 +0000 (19:47 -0500)
mediagoblin/media_types/blog/views.py

index 7e796fe4994e75e010839b14d9984ad0c1d48827..a547522ce8ed182451719a1f9b8bb3c24ce57c35 100644 (file)
@@ -313,7 +313,7 @@ def blog_delete(request, **kwargs):
     blog_slug = request.matchdict.get('blog_slug', None)
     blog = get_blog_by_slug(request, blog_slug, author=owner_user.id)
     if not blog:
-        return render_404(reequest)
+        return render_404(request)
 
     form = blog_forms.ConfirmDeleteForm(request.form)
     if request.user.id == blog.author or request.user.has_privilege(u'admin'):