Skip to content

Commit

Permalink
Fix attribute error for Globals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mictronics committed Oct 31, 2024
1 parent 697bb70 commit 97dd7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meshtastic2hass/meshtastic2hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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).",
Expand Down

0 comments on commit 97dd7fc

Please sign in to comment.