From 936f6cf8711ef99773702d13415c93480ff366ba Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Mon, 8 Apr 2024 14:56:49 +0200 Subject: [PATCH] flake8 --- packages/modules/devices/enphase/device.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/modules/devices/enphase/device.py b/packages/modules/devices/enphase/device.py index cc9c11be83..1cecdacdb4 100644 --- a/packages/modules/devices/enphase/device.py +++ b/packages/modules/devices/enphase/device.py @@ -196,7 +196,8 @@ def receive_token(self) -> bool: self.device_config.configuration.token = token try: log.debug("saving new access token") - Pub().pub("openWB/set/system/device/" + str(self.device_config.id) + "/config", asdict(self.device_config)) + Pub().pub("openWB/set/system/device/" + str(self.device_config.id) + "/config", + asdict(self.device_config)) except Exception as e: log.exception('Token mqtt write exception ' + str(e)) return False