diff --git a/src/meshtastic2hass/meshtastic2hass.py b/src/meshtastic2hass/meshtastic2hass.py index 58d698c..ee18546 100644 --- a/src/meshtastic2hass/meshtastic2hass.py +++ b/src/meshtastic2hass/meshtastic2hass.py @@ -38,7 +38,7 @@ __author__ = "Michael Wolf aka Mictronics" __copyright__ = "2024, (C) Michael Wolf" __license__ = "GPL v3+" -__version__ = "1.0.18" +__version__ = "1.0.19" def onReceiveTelemetry(packet, interface, topic=pub.AUTO_TOPIC): @@ -495,7 +495,7 @@ def signal_handler(signal, frame): signal.signal(signal.SIGABRT, signal_handler) signal.signal(signal.SIGTERM, signal_handler) - _globals = Globals.getInstance() + _globals = Globals().getInstance() parser = argparse.ArgumentParser( prog="meshtastic2hass", description="Connects Meshtastic radios via MQTT to Home Assistant (Hass).",