Skip to content

Commit 73497d8

Browse files
Fix import
1 parent e7b71cd commit 73497d8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/appstore.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
import time
77
import _thread
88

9-
try:
10-
import zipfile
11-
except ImportError:
12-
print("import zipfile failed, installation won't work!")
13-
149
from mpos.apps import Activity, Intent
1510
import mpos.ui
1611
from mpos.package_manager import PackageManager

internal_filesystem/lib/mpos/package_manager.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import os
22
import mpos.apps
33

4+
try:
5+
import zipfile
6+
except ImportError:
7+
print("import zipfile failed, installation won't work!")
8+
49
'''
510
Initialized at boot.
611
Typical users: appstore, launcher

0 commit comments

Comments
 (0)