fixed mealmaster regex

This commit is contained in:
vabene1111
2024-02-26 16:29:04 +01:00
parent dc5de6f0a2
commit c9e0f40e88
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class MealMaster(Integration):
if 'Yield:' in line:
servings_text = line.replace('Yield:', '').strip()
else:
if re.match('\s{2,}([0-9])+', line):
if re.match(r'\s{2,}([0-9])+', line):
ingredients.append(line.strip())
else:
directions.append(line.strip())