diff options
Diffstat (limited to 'src/temphum_nodes_util.py')
-rwxr-xr-x | src/temphum_nodes_util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/temphum_nodes_util.py b/src/temphum_nodes_util.py index c700ca8..ebeb349 100755 --- a/src/temphum_nodes_util.py +++ b/src/temphum_nodes_util.py @@ -1,14 +1,14 @@ #!/usr/bin/env python3 -from home.mqtt.temphum import MqttTempHumNodes +from home.temphum import TempHumNodes if __name__ == '__main__': max_name_len = 0 - for node in MqttTempHumNodes: + for node in TempHumNodes: if len(node.name) > max_name_len: max_name_len = len(node.name) values = [] - for node in MqttTempHumNodes: + for node in TempHumNodes: hash = node.hash() if hash in values: raise ValueError(f'collision detected: {hash}') |