Skip to content

Commit 0e62ee6

Browse files
committed
add recipe to dict to prevent multiple imports
1 parent 6346bc1 commit 0e62ee6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ def get_recipe(cls, name, ctx):
576576
recipe = mod.recipe
577577
recipe.recipe_dir = dirname(recipe_file)
578578
recipe.ctx = ctx
579+
cls.recipes[name] = recipe
579580
return recipe
580581

581582

0 commit comments

Comments
 (0)