updated links to import recipes

This commit is contained in:
smilerz
2021-03-23 13:58:16 -05:00
parent 3f5e64fc4a
commit 4aaecb4ada
2 changed files with 14 additions and 5 deletions

View File

@ -347,6 +347,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':