mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Change fstrings to string formatting
This commit is contained in:
parent
6c90da793e
commit
2f69917a82
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user