updated links to import recipes

This commit is contained in:
smilerz
2021-03-23 13:58:16 -05:00
parent de60e12073
commit 6a2c27749f
4 changed files with 16 additions and 7 deletions

View File

@ -330,6 +330,9 @@ def parse_image(image):
image = pic
elif 'url' in pic:
image = pic['url']
elif type(image) == dict:
if 'url' in image:
image = image['url']
# ignore relative image paths
if image[:4] != 'http':