diff options
| author | Zoltan Szabatin <[email protected]> | 2025-02-25 16:12:49 -0800 |
|---|---|---|
| committer | Zoltan Szabatin <[email protected]> | 2025-02-25 16:12:49 -0800 |
| commit | bdcc991a5a3bec5e136be97b14de8e51939f3652 (patch) | |
| tree | 9433cf8c24a447d88ec19077c4a2966ef511783c /src/splitscreen_duo/__init__.py | |
| parent | feat: Add Pygame menu (diff) | |
| download | splitscreen-duo-bdcc991a5a3bec5e136be97b14de8e51939f3652.tar.xz splitscreen-duo-bdcc991a5a3bec5e136be97b14de8e51939f3652.zip | |
feat: Add serial interface
Diffstat (limited to 'src/splitscreen_duo/__init__.py')
| -rw-r--r-- | src/splitscreen_duo/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splitscreen_duo/__init__.py b/src/splitscreen_duo/__init__.py index 4be2b6f..84c86f9 100644 --- a/src/splitscreen_duo/__init__.py +++ b/src/splitscreen_duo/__init__.py @@ -9,11 +9,11 @@ logger = logging.getLogger(__name__) def main() -> int: logging.basicConfig( level=( - logging.DEBUG if os.environ.get("DEVELOPMENT", "").lower() else logging.INFO + logging.DEBUG if os.getenv("DEVELOPMENT", "").lower() else logging.INFO ) ) print("The Dual Screen Console") - logger.info(f"Running as {os.environ.get("INSTANCE", "unknown")}") + logger.info(f"Running as {os.getenv("INSTANCE", "unknown")}") menu.main_loop() return 0 |