--- a/Beremiz_service.py Thu Feb 27 14:55:42 2025 +0100
+++ b/Beremiz_service.py Fri Feb 28 16:41:26 2025 +0100
@@ -158,9 +158,9 @@
_PSKpath = os.path.join(a, "wampconf.json")
if os.path.isfile(_PSKpath):
- elif os.path.isfile(a):
+ elif os.path.isfile(a) or os.path.isdir(paths.AbsDir(a)): - ConfDir = os.path.dirname(a)
+ ConfDir = paths.AbsDir(a)