1
0
Fork 0
forked from zovos/bot_tg

fix /maket

This commit is contained in:
q 2026-03-05 12:41:55 +03:00
parent 24245f6b87
commit c59858df53
2 changed files with 1 additions and 1 deletions

View file

@ -122,7 +122,7 @@ async def _send_break_photo(chat_id: int, bot: Bot, start_dt: datetime) -> None:
if last and last == start_dt: if last and last == start_dt:
return # Уже кидали уведомление для этого слота return # Уже кидали уведомление для этого слота
photo_path = config.BASE_DIR / "vape.jpg" photo_path = config.BASE_DIR / "maket" / "vape.jpg"
if not photo_path.exists(): if not photo_path.exists():
logger.warning("vape.jpg not found, skip break photo") logger.warning("vape.jpg not found, skip break photo")
return return

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB