From 734670d84985ff68183f0edd85f34c8f314b88b8 Mon Sep 17 00:00:00 2001 From: bohdan-s Date: Thu, 5 Jan 2023 17:13:37 +1100 Subject: [PATCH] typo --- SunGather/sungather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SunGather/sungather.py b/SunGather/sungather.py index 6559e3b..82ce750 100644 --- a/SunGather/sungather.py +++ b/SunGather/sungather.py @@ -116,7 +116,7 @@ def main(): logging.debug(f'Inverter Config Loaded: {config_inverter}') if config_inverter.get('host'): - inverter = SungrowClient(config_inverter) + inverter = SungrowClient.SungrowClient(config_inverter) else: logging.error(f"Error: host option in config is required") sys.exit("Error: host option in config is required")