Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdaad08e

Browse files
Launcher: fix handling of empty filesystem without apps
1 parentcf1991a commitdaad08e

File tree

1 file changed

+6
-6
lines changed
  • internal_filesystem/builtin/apps/com.micropythonos.launcher/assets

1 file changed

+6
-6
lines changed

‎internal_filesystem/builtin/apps/com.micropythonos.launcher/assets/launcher.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ def onResume(self, screen):
6060
main_launcher=mpos.apps.find_main_launcher_activity(app)
6161
ifmain_launcher:
6262
app_list.append((app.name,full_path))
63-
exceptOSError:
64-
print(f"launcher.py stat of{full_path} gotOSError:{e}")
65-
exceptOSError:
66-
print(f"launcher.py listdir of{dir_path} gotOSError:{e}")
67-
exceptOSError:
68-
print(f"launcher.py stat of{dir_path} gotOSError:{e}")
63+
exceptExceptionase:
64+
print(f"launcher.py stat of{full_path} gotexception:{e}")
65+
exceptExceptionase:
66+
print(f"launcher.py listdir of{dir_path} gotexception:{e}")
67+
exceptExceptionase:
68+
print(f"launcher.py stat of{dir_path} gotexception:{e}")
6969

7070
importtime
7171
start=time.ticks_ms()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp