diff --git a/README.md b/README.md index 90ccec1..da5079c 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/fritzinfluxdb.py b/fritzinfluxdb.py index e460d00..0b55b94 100755 --- a/fritzinfluxdb.py +++ b/fritzinfluxdb.py @@ -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 " __description__ = "fritzinfluxdb" __license__ = "MIT" @@ -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")