mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Suppress protected-access warning on admin dashboard
This commit is contained in:
parent
ba7ae46c75
commit
36553ef2a9
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Dashboard(View):
|
|||
] = f"{settings.EMAIL_SENDER_NAME}@{settings.EMAIL_SENDER_DOMAIN}"
|
||||
|
||||
site = models.SiteSettings.objects.get()
|
||||
# other warnings
|
||||
# pylint: disable=protected-access
|
||||
data["missing_conduct"] = (
|
||||
not site.code_of_conduct
|
||||
or site.code_of_conduct
|
||||
|
|
Loading…
Reference in a new issue