From b472eeb741ee131eff37283fbc5330e5bdf47d1a Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Mon, 30 Mar 2020 06:26:56 +0200 Subject: [PATCH] Fixes glob function call, closes #1044 --- buildozer/targets/android.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index b03f51a70..98e56de41 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -811,7 +811,7 @@ def get_dist_dir(self, dist_name, arch): old_dist_dir = join(self._build_dir, 'dists', dist_name) if exists(old_dist_dir): return old_dist_dir - matching_dirs = glob.glob(join(self._build_dir, 'dist', '{}*'.format(dist_name))) + matching_dirs = glob(join(self._build_dir, 'dist', '{}*'.format(dist_name))) # If no directory has been found yet, our dist probably # doesn't exist yet, so use the expected name