Refactoring and fix

This commit is contained in:
Zakhar Izmaylov
2024-11-17 13:33:17 +03:00
parent c2d06e10b8
commit 7c93c8cc31
14 changed files with 24 additions and 297 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ async def send_instructions(callback_query: types.CallbackQuery):
instructions_message = INSTRUCTIONS
image_path = os.path.join(os.path.dirname(__file__), "instructions.jpg")
image_path = os.path.join("img", "instructions.jpg")
if not os.path.isfile(image_path):
await callback_query.message.answer("Файл изображения не найден.")