We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d5ef7f commit d2911a7Copy full SHA for d2911a7
pythonforandroid/recipes/sdl2_image/__init__.py
@@ -32,7 +32,7 @@ def prebuild_arch(self, arch):
32
line_split[-1].strip()
33
)
34
# Clone if needed
35
- if not os.path.exists(clone_path) or os.listdir(clone_path) == 0:
+ if not os.path.exists(clone_path) or not os.listdir(clone_path):
36
shprint(
37
sh.git, "clone", url,
38
"--depth", "1", "-b",
0 commit comments