forked from gergely/calendar-social
Rename Profile.fqdn to Profile.fqn
It’s not a domain name, so the `d` is not needed.
This commit is contained in:
parent
efc9b24e2c
commit
9af673666c
@ -204,7 +204,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
|
|||||||
display_name = db.Column(db.Unicode(length=80), nullable=False)
|
display_name = db.Column(db.Unicode(length=80), nullable=False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def fqdn(self):
|
def fqn(self):
|
||||||
ret = ''
|
ret = ''
|
||||||
|
|
||||||
if self.user:
|
if self.user:
|
||||||
@ -228,7 +228,7 @@ class Profile(db.Model): # pylint: disable=too-few-public-methods
|
|||||||
if self.display_name:
|
if self.display_name:
|
||||||
ret = self.display_name + ' '
|
ret = self.display_name + ' '
|
||||||
|
|
||||||
ret += f'({self.fqdn})'
|
ret += f'({self.fqn})'
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user