forked from gergely/calendar-social
[Bugfix] Fix the FQN of invalid remote profiles (ie. no domain set)
This commit is contained in:
parent
5550e5ecf3
commit
5d886a7853
@ -265,7 +265,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
|
|||||||
domain = ''
|
domain = ''
|
||||||
else:
|
else:
|
||||||
username = self.username
|
username = self.username
|
||||||
domain = '@' + self.domain
|
domain = f'@{self.domain}'
|
||||||
|
|
||||||
return f'<Profile {self.id}(@{username}{domain})>'
|
return f'<Profile {self.id}(@{username}{domain})>'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user