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

Reload site-packages before importing Buildozer

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

View file

@ -95,6 +95,8 @@ def apply_patches():
print("::group::Applying patches to Buildozer")
try:
import importlib
import site
importlib.reload(site)
globals()["buildozer"] = importlib.import_module("buildozer")
except ImportError:
print(