Files
Modus/modules/osd/components/__init__.py
T
sankalp ef4065bc1f refactor(modules): improve exception handling and simplify service usage
Enhancements
- Replace bare `except:` with `except Exception:` in multiple modules- Cast step calculation to `int` for consistent type
- Simplify `get_battery_icon_file` to return a string directly
- Use `get_todo_service()` instead of module-level `todo_service` throughout todo widget
- Remove unused `"zen": "zen-browser"` mapping entry

Bug Fixes
- Prevent bare exception swallowing by catching `Exception` explicitly
- Ensure proper cleanup of timer IDs and other resources
- Delete unused modules/osdd components

New Features
- None
2026-03-23 23:34:03 +05:45

6 lines
300 B
Python

from .audio import AudioOSDContainer # noqa: F401
from .brightness import BrightnessOSDContainer # noqa: F401
from .microphone import MicrophoneOSDContainer # noqa: F401
from .capslock import CapsLockOSDContainer # noqa: F401
from .keyboard_layout import KeyboardLayoutOSDContainer # noqa: F401