From 1e7f8348b96b95f3cf5825865826f19485bdb299 Mon Sep 17 00:00:00 2001 From: Ken Date: Thu, 17 Oct 2024 09:09:58 +0200 Subject: [PATCH] Fix Camera Type check in flashconfig self.isPoE is a method, not an attribute, the if statement is wrong and was not checking the camera type, preventing any config update in case of USB camera --- utilities/device_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/device_manager.py b/utilities/device_manager.py index 99814f10b..24cc4d8c9 100755 --- a/utilities/device_manager.py +++ b/utilities/device_manager.py @@ -948,7 +948,7 @@ def flashConfig(self): pass try: - if self.isPoE: + if self.isPoE(): if self.values['staticBut']: if check_ip(self.window, values['ip']) and check_ip(self.window, values['mask']) and check_ip(self.window, values['gateway'], req=False): conf.setStaticIPv4(values['ip'], values['mask'], values['gateway'])