Skip to content

Commit e3dabdf

Browse files
authored
Makes pep8 happy on sdl2 recipe (kivy#2504)
1 parent 8903522 commit e3dabdf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pythonforandroid/recipes/sdl2/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ def get_recipe_env(self, arch=None, with_flags_in_cc=True, with_python=True):
2121
return env
2222

2323
def should_build(self, arch):
24-
libdir = join(
25-
self.get_build_dir(arch.arch),
26-
'../..',
27-
'libs', arch.arch
28-
)
24+
libdir = join(self.get_build_dir(arch.arch), "../..", "libs", arch.arch)
2925
libs = ['libhidapi.so', 'libmain.so', 'libSDL2.so', 'libSDL2_image.so', 'libSDL2_mixer.so', 'libSDL2_ttf.so']
3026
return not all(exists(join(libdir, x)) for x in libs)
3127

0 commit comments

Comments
 (0)