From 4ade58073263c3a2e92338b1f165b04793683e16 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Mon, 6 Dec 2021 16:47:04 +1100 Subject: [PATCH] pylint called my code useless how rude --- bookwyrm/views/helpers.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bookwyrm/views/helpers.py b/bookwyrm/views/helpers.py index f6ac8979b..cee95fd33 100644 --- a/bookwyrm/views/helpers.py +++ b/bookwyrm/views/helpers.py @@ -16,10 +16,7 @@ from bookwyrm.utils import regex class WebFingerError(Exception): - """error class for problems finding user information with webfinger""" - - def __init__(self, message): - super().__init__(message) + """empty error class for problems finding user information with webfinger""" def get_user_from_username(viewer, username):