fixed mealmaster regex
This commit is contained in:
parent
dc5de6f0a2
commit
c9e0f40e88
@ -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())
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user