Skip to content

Commit 97dd7fc

Browse files
committed
Fix attribute error for Globals.
1 parent 697bb70 commit 97dd7fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meshtastic2hass/meshtastic2hass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
__author__ = "Michael Wolf aka Mictronics"
3939
__copyright__ = "2024, (C) Michael Wolf"
4040
__license__ = "GPL v3+"
41-
__version__ = "1.0.18"
41+
__version__ = "1.0.19"
4242

4343

4444
def onReceiveTelemetry(packet, interface, topic=pub.AUTO_TOPIC):
@@ -495,7 +495,7 @@ def signal_handler(signal, frame):
495495
signal.signal(signal.SIGABRT, signal_handler)
496496
signal.signal(signal.SIGTERM, signal_handler)
497497

498-
_globals = Globals.getInstance()
498+
_globals = Globals().getInstance()
499499
parser = argparse.ArgumentParser(
500500
prog="meshtastic2hass",
501501
description="Connects Meshtastic radios via MQTT to Home Assistant (Hass).",

0 commit comments

Comments
 (0)