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:
parent
3db9653116
commit
73f8caba71
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ def apply_patches():
|
||||||
# Apply patches
|
# Apply patches
|
||||||
print("::group::Applying patches to Buildozer")
|
print("::group::Applying patches to Buildozer")
|
||||||
try:
|
try:
|
||||||
import buildozer
|
import importlib
|
||||||
|
globals()["buildozer"] = importlib.import_module("buildozer")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print(
|
print(
|
||||||
"::error::Cannot apply patches to buildozer (ImportError). "
|
"::error::Cannot apply patches to buildozer (ImportError). "
|
||||||
|
|
Loading…
Reference in a new issue