Skip to content

Commit 4b07704

Browse files
committed
fix kivy#629
1 parent 1ac0abc commit 4b07704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/archs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_env(self, with_flags_in_cc=True):
110110

111111
env['ARCH'] = self.arch
112112

113-
if self.ctx.python_recipe.from_crystax:
113+
if self.ctx.python_recipe and self.ctx.python_recipe.from_crystax:
114114
env['CRYSTAX_PYTHON_VERSION'] = self.ctx.python_recipe.version
115115

116116
return env

0 commit comments

Comments
 (0)