forked from zovos/bot_tg
fix /maket
This commit is contained in:
parent
24245f6b87
commit
c59858df53
2 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -122,7 +122,7 @@ async def _send_break_photo(chat_id: int, bot: Bot, start_dt: datetime) -> None:
|
|||
if last and last == start_dt:
|
||||
return # Уже кидали уведомление для этого слота
|
||||
|
||||
photo_path = config.BASE_DIR / "vape.jpg"
|
||||
photo_path = config.BASE_DIR / "maket" / "vape.jpg"
|
||||
if not photo_path.exists():
|
||||
logger.warning("vape.jpg not found, skip break photo")
|
||||
return
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Loading…
Reference in a new issue