From 842043cda06c7fc367f6ca8c2a1c3756906e686f Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak <dos@dosowisko.net> Date: Fri, 17 Nov 2023 18:00:14 +0100 Subject: [PATCH] Rename internal comms module to _ph --- utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils.py b/utils.py index 6f80d05..8e3b8ad 100644 --- a/utils.py +++ b/utils.py @@ -9,9 +9,9 @@ try: except ImportError: sd_card_present = lambda: False try: - import ph + import _ph except ImportError: - ph = None + _ph = None VERSION = "0.0" @@ -125,5 +125,5 @@ def volume(app, vol): app.blm.volume = vol def emit(*args, **kwargs): - if ph and ph.emit: - ph.emit(*args, **kwargs) + if _ph and _ph.emit: + _ph.emit(*args, **kwargs) -- GitLab