From 9e60d0aea57f86587bb45b1555f6312eb79b2621 Mon Sep 17 00:00:00 2001 From: vuffiraa72 Date: Sat, 27 Sep 2025 17:21:04 +0200 Subject: [PATCH] Revert "improve syntax" This reverts commit 51ea8eeba1af1e9db37e0699ac502d1d87e4328b. --- packages/helpermodules/command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/helpermodules/command.py b/packages/helpermodules/command.py index c973bdfe1f..3db8dac1b7 100644 --- a/packages/helpermodules/command.py +++ b/packages/helpermodules/command.py @@ -822,9 +822,9 @@ def systemUpdate(self, connection_id: str, payload: dict) -> None: if not SubData.general_data.data.extern and SubData.system_data["system"].data["secondary_auto_update"]: for cp in SubData.cp_data.values(): # if chargepoint is external_openwb and not the second CP of duo and version is Release - if all( - cp.chargepoint.chargepoint_module.config.type == 'external_openwb', - cp.chargepoint.chargepoint_module.config.configuration.duo_num == 0, + if ( + cp.chargepoint.chargepoint_module.config.type == 'external_openwb' and + cp.chargepoint.chargepoint_module.config.configuration.duo_num == 0 and cp.chargepoint.data.get.current_branch == "Release" ): time.sleep(2)