1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 00:58:32 -05:00

fixed plan to eat tag delimeter

This commit is contained in:
vabene1111
2022-05-18 16:27:07 +02:00
parent 9435c5a380
commit 6aba5c3661

View File

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