forked from gergely/calendar-social
		
	[Bugfix] Fix the FQN of invalid remote profiles (ie. no domain set)
This commit is contained in:
		@@ -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'<Profile {self.id}(@{username}{domain})>'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user