diff libervia/server/constants.py @ 1275:334d044f2713

server: default theme can now be specified in site section of `sat.conf` with `theme` key
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 16:47:50 +0200
parents 1ec41ac1e7cf
children b1215347b5c3
line wrap: on
line diff
--- a/libervia/server/constants.py	Fri May 29 21:56:42 2020 +0200
+++ b/libervia/server/constants.py	Fri Jun 19 16:47:50 2020 +0200
@@ -1,7 +1,6 @@
 #!/usr/bin/env python3
 
-
-# Libervia: a SAT frontend
+# Libervia: a SàT frontend
 # Copyright (C) 2009-2020 Jérôme Poisson (goffi@goffi.org)
 
 # This program is free software: you can redistribute it and/or modify
@@ -24,6 +23,7 @@
 
     APP_NAME = "Libervia"
     APP_NAME_FILE = "libervia"
+    CONFIG_SECTION = APP_NAME.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