From 1be33c97a21dc6c104d17a11b280aa45774900de Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 20 Sep 2021 17:19:26 -0700 Subject: [PATCH] Fixes string formatting in site model --- bookwyrm/models/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/models/site.py b/bookwyrm/models/site.py index 72b077f4..8338fff8 100644 --- a/bookwyrm/models/site.py +++ b/bookwyrm/models/site.py @@ -127,7 +127,7 @@ class PasswordReset(models.Model): @property def link(self): """formats the invite link""" - return "https://{DOMAIN}/password-reset/{self.code}" + return f"https://{DOMAIN}/password-reset/{self.code}" # pylint: disable=unused-argument