1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00

Fix Buildozer importing

This commit is contained in:
Artem Bulgakov 2020-07-31 23:06:14 +03:00 committed by GitHub
parent 3db9653116
commit 73f8caba71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,8 @@ def apply_patches():
# Apply patches
print("::group::Applying patches to Buildozer")
try:
import buildozer
import importlib
globals()["buildozer"] = importlib.import_module("buildozer")
except ImportError:
print(
"::error::Cannot apply patches to buildozer (ImportError). "