diff libervia/server/constants.py @ 1402:388558a30cf8

core (config): use component (i.e. "web") as config section
author Goffi <goffi@goffi.org>
date Thu, 25 Mar 2021 10:29:40 +0100
parents ed037818d6de
children 396d5606477f
line wrap: on
line diff
--- a/libervia/server/constants.py	Sat Mar 20 20:58:45 2021 +0100
+++ b/libervia/server/constants.py	Thu Mar 25 10:29:40 2021 +0100
@@ -25,7 +25,7 @@
     APP_COMPONENT = "web"
     APP_NAME_ALT = APP_NAME
     APP_NAME_FILE = "libervia_web"
-    CONFIG_SECTION = APP_NAME_FILE.lower()
+    CONFIG_SECTION = APP_COMPONENT.lower()
     SERVICE_PROFILE = "libervia"  # the SàT profile that is used for exporting the service
 
     SESSION_TIMEOUT = 7200  # Session's timeout, after that the user will be disconnected