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())

View File

@ -15,7 +15,7 @@ gunicorn==20.1.0
lxml==4.9.3
Markdown==3.5.1
Pillow==10.2.0
psycopg2-binary==2.9.5
psycopg2-binary==2.9.9
python-dotenv==1.0.0
requests==2.31.0
six==1.16.0