Skip to content

Commit 4331463

Browse files
committed
shift foundPython check
1 parent 8fe5d01 commit 4331463

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/common/build/src/main/java/org/kivy/android

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/common/build/src/main/java/org/kivy/android/PythonUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ public static void loadLibraries(File filesDir, File libsDir) {
6363
boolean foundPython = false;
6464

6565
for (String lib : getLibraries(libsDir)) {
66+
if (lib.startsWith("python") && foundPython) {continue;}
6667
Log.v(TAG, "Loading library: " + lib);
6768
try {
68-
if (lib.startsWith("python") && foundPython) {continue;}
6969
System.loadLibrary(lib);
7070
if (lib.startsWith("python")) {
7171
foundPython = true;

0 commit comments

Comments
 (0)