mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-11 17:16:59 -05:00
fixed plan to eat tag delimeter
This commit is contained in:
@@ -49,6 +49,7 @@ class Plantoeat(Integration):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if tags:
|
if tags:
|
||||||
|
tags = tags.replace('^',',')
|
||||||
for k in tags.split(','):
|
for k in tags.split(','):
|
||||||
keyword, created = Keyword.objects.get_or_create(name=k.strip(), space=self.request.space)
|
keyword, created = Keyword.objects.get_or_create(name=k.strip(), space=self.request.space)
|
||||||
recipe.keywords.add(keyword)
|
recipe.keywords.add(keyword)
|
||||||
|
|||||||
Reference in New Issue
Block a user