diff options
Diffstat (limited to '')
-rw-r--r-- | sjdbmk/menuparser.py (renamed from menuparser.py) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/menuparser.py b/sjdbmk/menuparser.py index 71b7f6f..7413ff0 100644 --- a/menuparser.py +++ b/sjdbmk/menuparser.py @@ -17,10 +17,11 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. # -import openpyxl from typing import Optional, Any +import openpyxl + def menu_item_fix(s: str) -> Optional[str]: if not s: @@ -88,7 +89,7 @@ def parse_menus(filename: str) -> dict[str, dict[str, dict[str, list[str]]]]: row = rows[i] if not isinstance(row[1].value, str): continue - elif "BREAKFAST" in row[1].value: + if "BREAKFAST" in row[1].value: final["Breakfast"] = parse_meal_table( rows, i, |