Change fstrings to string formatting

This commit is contained in:
David256 2021-04-01 16:52:12 -05:00
parent 6c90da793e
commit 2f69917a82
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class User(JsonDeserializable, Dictionaryable, JsonSerializable):
def full_name(self):
full_name = self.first_name
if self.last_name:
full_name += f' {self.last_name}'
full_name += ' {0}'.format(self.last_name)
return full_name
def to_json(self):