From 9827cef9a935c5eb6eb135533cbd91733e5cebfb Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 12 Feb 2022 10:34:16 -0800 Subject: [PATCH] Python formatting --- bookwyrm/views/admin/announcements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/admin/announcements.py b/bookwyrm/views/admin/announcements.py index dd0ce862..47bb4ab9 100644 --- a/bookwyrm/views/admin/announcements.py +++ b/bookwyrm/views/admin/announcements.py @@ -65,7 +65,6 @@ class Announcement(View): ) - @method_decorator(login_required, name="dispatch") @method_decorator( permission_required("bookwyrm.edit_instance_settings", raise_exception=True), @@ -73,6 +72,7 @@ class Announcement(View): ) class EditAnnouncement(View): """Create of edit an announcement""" + def get(self, request, announcement_id=None): """announcement forms""" announcement = None