Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actions3d107d8dbe7d
diff --git a/wger/utils/models.py b/wger/utils/models.py
index 52ac6c28d..d2152cebc 100644
--- a/wger/utils/models.py
+++ b/wger/utils/models.py
@@ -96,7 +96,9 @@ class AbstractLicenseModel(models.Model):
title = escape(self.license_title)
if self.license_author_url:
- author = format_html('<a href="{}">{}</a>', self.license_author_url, self.license_author)
+ author = format_html(
+ '<a href="{}">{}</a>', self.license_author_url, self.license_author
+ )
else:
author = escape(self.license_author)
@@ -111,7 +113,10 @@ class AbstractLicenseModel(models.Model):
return format_html(
'{} by {} is licensed under {}{}',
- title, author, license_link, derivative,
+ title,
+ author,
+ license_link,
+ derivative,
)