From 2e0743d3a833f040e34ddb867ff3ffe7001af681 Mon Sep 17 00:00:00 2001 From: alexandredevely <12896316+alexandredevely@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:15:39 +0100 Subject: [PATCH] add welcomeinfoconfig --- oc/od/settings.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/oc/od/settings.py b/oc/od/settings.py index b7019bf..7dd60cc 100755 --- a/oc/od/settings.py +++ b/oc/od/settings.py @@ -61,6 +61,7 @@ jira = None # Jira tracker configuration tipsinfoconfig = {} +welcomeinfoconfig = {} desktopdescription = {} # define a network interface name mapping # like { 'internalip': 'eth1', 'externalip': 'net2'} @@ -164,6 +165,11 @@ def init_tipsinfo(): global tipsinfoconfig tipsinfoconfig = gconfig.get('tipsinfo', {}) +def init_welcomeinfo(): + global welcomeinfoconfig + welcomeinfoconfig = gconfig.get('welcomeinfo', {}) + + def init_config_stack(): """init_config_stack read namespace should be abcdesktop @@ -711,6 +717,9 @@ def init(): # init tipsinfo config init_tipsinfo() + # init welcomeinfo config + init_welcomeinfo() + # load geolocation config init_geolocation()