소스 검색

Fix bug with f-string

Camille Masset 5 년 전
부모
커밋
75d784320e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bot/views/telegram.py

+ 1 - 1
bot/views/telegram.py

@@ -165,7 +165,7 @@ def webhook(request):
165 165
                 # for non existing trigrams, we throw the seum to the seum giver
166 166
                 for not_a_counter in set(counters) - set([c.trigramme for c in yes_counters]):
167 167
                     seums_to_throw.append((user_counter, user_counter,
168
-                                           f"Trigramme {not_a_counter} qui n'existe pas du seum"))
168
+                                           "Trigramme {} qui n'existe pas du seum".format(not_a_counter)))
169 169
             else:
170 170
                 seums_to_throw.append((user_counter, user_counter, m))
171 171