Skip to content

Commit 57771ff

Browse files
committed
Fixes bug in network quality os test, "could not convert string to float".
1 parent 9a06169 commit 57771ff

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Multitool.indigoPlugin/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>PluginVersion</key>
6-
<string>2023.2.1</string>
6+
<string>2023.2.2</string>
77
<key>ServerApiVersion</key>
88
<string>3.2</string>
99
<key>CFBundleDisplayName</key>

Multitool.indigoPlugin/Contents/Server Plugin/plugin.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
__license__ = Dave.__license__
3838
__build__ = Dave.__build__
3939
__title__ = 'Multitool Plugin for Indigo Home Control'
40-
__version__ = '2023.2.1'
40+
__version__ = '2023.2.2'
4141

4242

4343
# =============================================================================
@@ -644,7 +644,8 @@ def network_quality_device_action(self, action_group: indigo.actionGroup):
644644
def network_quality_test_os(self):
645645
""" Test the OS version to ensure that the network quality test tool is available """
646646
# Test OS compatability
647-
if (float(platform.mac_ver()[0])) < 12.0:
647+
pltfrm = platform.mac_ver()[0].split('.') # ['14', '4', '1']
648+
if (float(pltfrm[0])) < 12.0:
648649
self.logger.warning("This tool requires at least MacOS 12.0 Monterey.")
649650
return False
650651
return True

_changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11

2+
### v2023.2.2
3+
- Fixes bug in network quality os test, "could not convert string to float".
4+
25
### v2023.2.1
36
- Adds Network Quality Device tool.
47
- Adds Network Quality Report Menu item.

0 commit comments

Comments
 (0)