Skip to content

Commit

Permalink
bump version to 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-Ricardo committed Sep 27, 2024
1 parent cb6c1a5 commit 5421d7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ For InfluxDB 2 it is highly recommended creating a specific write only token for
usage: fritzinfluxdb.py [-h] [-c fritzinfluxdb.ini [fritzinfluxdb.ini ...]] [-d] [-v]
fritzinfluxdb
Version: 1.2.2 (2024-07-13)
Version: 1.2.3 (2024-09-27)
Project URL: https://github.com/bb-Ricardo/fritzinfluxdb
optional arguments:
Expand Down
6 changes: 3 additions & 3 deletions fritzinfluxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
from fritzinfluxdb.classes.fritzbox.handler import FritzBoxHandler, FritzBoxLuaHandler
from fritzinfluxdb.classes.influxdb.handler import InfluxHandler, InfluxLogAndConfigWriter

__version__ = "1.2.2"
__version_date__ = "2024-07-13"
__version__ = "1.2.3"
__version_date__ = "2024-09-27"
__author__ = "Ricardo Bartels <ricardo@bitchbrothers.com>"
__description__ = "fritzinfluxdb"
__license__ = "MIT"
Expand Down Expand Up @@ -118,7 +118,7 @@ def main():
fritzbox_connection.connect()

# Lua handler is only useful with FritzBox FW >= 7.X
if fritzbox_connection.config.fw_version is not None and fritzbox_connection.config.fw_version[0] > "6":
if fritzbox_connection.config.fw_version is not None and int(fritzbox_connection.config.fw_version[0]) >= 7:
fritzbox_lua_connection.connect()
else:
log.info("Disabling queries via Lua. Fritz!OS version must be at least 7.XX")
Expand Down

0 comments on commit 5421d7b

Please sign in to comment.