From 8a4ce47203ca7633079ed9289c6bba814e279516 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Fri, 31 Jul 2020 23:13:39 +0300 Subject: [PATCH] Fix patching global Buildozer directory --- entrypoint.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/entrypoint.py b/entrypoint.py index 84b7f79..93ec06a 100755 --- a/entrypoint.py +++ b/entrypoint.py @@ -110,14 +110,14 @@ def apply_patches(): source = open(buildozer.__file__, "r", encoding="utf-8").read() new_source = source.replace( """ - @property - def global_buildozer_dir(self): - return join(expanduser('~'), '.buildozer') + @property + def global_buildozer_dir(self): + return join(expanduser('~'), '.buildozer') """, f""" - @property - def global_buildozer_dir(self): - return '{os.environ["GITHUB_WORKSPACE"]}/.buildozer_global' + @property + def global_buildozer_dir(self): + return '{os.environ["GITHUB_WORKSPACE"]}/.buildozer_global' """, ) if new_source == source: