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:
|
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
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Loading…
Reference in a new issue