mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-27 20:55:12 -05:00
feat: Improve Recipe Imports with Cleaner (#4517)
This commit is contained in:
@@ -268,6 +268,5 @@ class BaseMigrator(BaseService):
|
||||
with contextlib.suppress(KeyError):
|
||||
del recipe_dict["id"]
|
||||
|
||||
recipe_dict = cleaner.clean(recipe_dict, self.translator, url=recipe_dict.get("org_url", None))
|
||||
|
||||
return Recipe(**recipe_dict)
|
||||
recipe = cleaner.clean(recipe_dict, self.translator, url=recipe_dict.get("org_url", None))
|
||||
return recipe
|
||||
|
||||
Reference in New Issue
Block a user