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()