Skip to content

Commit 8f73b3e

Browse files
main.py: add missing import
1 parent 32b4204 commit 8f73b3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal_filesystem/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
fs_drv = lv.fs_drv_t()
77
fs_driver.fs_register(fs_drv, 'M')
88

9+
import mpos.apps
910
import mpos.ui
1011

1112
RED = lv.palette_main(lv.PALETTE.RED)
@@ -26,10 +27,10 @@
2627
mpos.ui.handle_top_swipe()
2728
mpos.ui.th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop
2829

29-
# Maybe this should only be done if there is not already a "builtin" folder... with the expected apps/4apps
3030
try:
3131
import freezefs_mount_builtin
3232
except Exception as e:
33+
# This will throw an exception if there is already a "/builtin" folder present
3334
print("main.py: WARNING: could not import/run freezefs_mount_builtin: ", e)
3435

3536
from mpos import apps

0 commit comments

Comments
 (0)