use ruff for formating

Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
This commit is contained in:
thomas girodandBartuccio Antoine committed 2024-06-26 12:35:14 +02:00
1 parent e06bc7dba3
commit 9bdf3fc4ac
16 files changed
+105 -181

No files matched your search

+5 -3
View File
@@ -698,9 +698,11 @@ class User(AbstractBaseUser):
<em>%s</em>
</a>
""" % (
self.profile_pict.get_download_url()
if self.profile_pict
else staticfiles_storage.url("core/img/unknown.jpg"),
(
self.profile_pict.get_download_url()
if self.profile_pict
else staticfiles_storage.url("core/img/unknown.jpg")
),
_("Profile"),
escape(self.get_display_name()),
)