mealie 1.0 importer WIP

This commit is contained in:
vabene1111
2025-09-15 22:05:15 +02:00
parent 338db1fac2
commit d177316b47
6 changed files with 251 additions and 15 deletions

View File

@@ -403,6 +403,8 @@ def parse_servings_text(servings):
def parse_time(recipe_time):
if not recipe_time:
return 0
if type(recipe_time) not in [int, float]:
try:
recipe_time = float(re.search(r'\d+', recipe_time).group())