Browse Source

Merge pull request #15 from denismerigoux/bugfix/f-strings

Fix bug with f-string
Denis Merigoux 5 years ago
parent
commit
e859e0e9f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bot/views/telegram.py

+ 1 - 1
bot/views/telegram.py

165
                 # for non existing trigrams, we throw the seum to the seum giver
165
                 # for non existing trigrams, we throw the seum to the seum giver
166
                 for not_a_counter in set(counters) - set([c.trigramme for c in yes_counters]):
166
                 for not_a_counter in set(counters) - set([c.trigramme for c in yes_counters]):
167
                     seums_to_throw.append((user_counter, user_counter,
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
             else:
169
             else:
170
                 seums_to_throw.append((user_counter, user_counter, m))
170
                 seums_to_throw.append((user_counter, user_counter, m))
171
 
171