Skip to content

Commit 128b994

Browse files
Simplify imports
1 parent 7842ebb commit 128b994

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

internal_filesystem/lib/mpos/__init__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
# Utility modules
4545
from . import apps
46+
from . import bootloader
4647
from . import ui
4748
from . import config
4849
from . import net
@@ -54,13 +55,6 @@
5455
from . import audio
5556
from . import hardware
5657

57-
# Lazy import to avoid circular dependencies
58-
def __getattr__(name):
59-
if name == 'bootloader':
60-
from . import bootloader
61-
return bootloader
62-
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
63-
6458
__all__ = [
6559
# Core framework
6660
"App",

0 commit comments

Comments
 (0)