kacpi2442 / am_bot

Using the toogoodtogo and foodsi APIs to notify me via a Telegram bot for open offers
39 stars 19 forks source link

File "/app/watch_script.py", line 358, in refresh foodsi() #4

Closed swiezaczek closed 1 year ago

swiezaczek commented 1 year ago

Error occured: (most recent call last): File "/app/watch_script.py", line 358, in refresh foodsi() File "/app/watch_script.py", line 332, in foodsi message = f"There was a change of number of goodie bags in stock from {old_stock} to {new_stock} at {item['store_name']}." KeyError: 'store_name'

swiezaczek commented 1 year ago

it happened because I have changed refresh time

swiezaczek commented 1 year ago

It happened again despite 1min refresh