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:
tags = tags.replace('^',',')
for k in tags.split(','):
keyword, created = Keyword.objects.get_or_create(name=k.strip(), space=self.request.space)
recipe.keywords.add(keyword)