fix error on day without any bin collection

This commit is contained in:
l.weber 2025-07-10 10:52:12 +02:00
parent b68b341862
commit df546831f3

2
awl.go
View file

@ -81,7 +81,7 @@ func AwlTomorrow(street, home int) ([]string, error) {
day, ok := month[currentDay] day, ok := month[currentDay]
if !ok { if !ok {
return nil, fmt.Errorf("could not access day (%s):\n%s", currentDay, string(content)) return nil, nil
} }
return day, nil return day, nil