From 87effde838fe41fec67239449c39c94c58903a47 Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Thu, 26 Oct 2023 07:38:04 +0200 Subject: [PATCH] fix: Fixes the error that setconfig always reloads the settings The parameter 'loadnow' has not been processed since commit 3222790d and the settings have always been applied immediately. Refs: 3222790d Signed-off-by: Sven Sager --- src/revpipyload/revpipyload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/revpipyload/revpipyload.py b/src/revpipyload/revpipyload.py index 7d258a7..cc8c00b 100644 --- a/src/revpipyload/revpipyload.py +++ b/src/revpipyload/revpipyload.py @@ -1358,8 +1358,9 @@ class RevPiPyLoad: "".format(self.xmlrpcacl.filename) ) - # RevPiPyLoad neu konfigurieren - self.evt_loadconfig.set() + if loadnow: + # RevPiPyLoad neu konfigurieren + self.evt_loadconfig.set() return True