Typos and cosmetics.

This commit is contained in:
2023-05-08 10:28:26 +03:00
parent 8debb0b3d5
commit d1f7019f89
3 changed files with 11 additions and 9 deletions

View File

@@ -17,7 +17,8 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3):
decoded_text = text_to_decode
if chosen_model not in models:
self.RESPONSE = f"Такого варіанту транслітерації не існує. Доступні варіанти: {', '.join(list(models.keys()))}"
self.RESPONSE = f"Такого варіанту транслітерації не існує. Доступні варіанти: " \
f"{', '.join(list(models.keys()))}"
else:
for i in models[chosen_model]:
decoded_text = decoded_text.replace(i[0], i[1])