From 2f69917a8221ff0feb4baf84577dc814711c5d44 Mon Sep 17 00:00:00 2001 From: David256 Date: Thu, 1 Apr 2021 16:52:12 -0500 Subject: [PATCH] Change fstrings to string formatting --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 21c43aa..9cad691 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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):