From 5d886a785339da7b96a834ffd687c3cdb6e2ea55 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 12 Jul 2018 09:18:05 +0200 Subject: [PATCH] [Bugfix] Fix the FQN of invalid remote profiles (ie. no domain set) --- calsocial/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calsocial/models.py b/calsocial/models.py index 1598a54..a21035b 100644 --- a/calsocial/models.py +++ b/calsocial/models.py @@ -265,7 +265,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods domain = '' else: username = self.username - domain = '@' + self.domain + domain = f'@{self.domain}' return f''