1 Commits

Author SHA1 Message Date
zv0n ff80a109e8 Fix Fresh parsing 2024-01-03 21:45:55 +01:00
+3
View File
@@ -84,6 +84,9 @@ func (restaurant *FreshRestaurant) Parse() {
meals[curIndex] = append(meals[curIndex], line[10:])
prices[curIndex] = append(prices[curIndex], -1)
}
if curIndex < 0 {
curIndex++
}
if !pricesSection && line[1] == '.' && len(line) > 2 {
meals[curIndex] = append(meals[curIndex], line[3:])
}