Skip to content

Commit

Permalink
add welcomeinfoconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Dec 5, 2023
1 parent 0465fb3 commit 2e0743d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions oc/od/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
jira = None # Jira tracker configuration

tipsinfoconfig = {}
welcomeinfoconfig = {}
desktopdescription = {} # define a network interface name mapping
# like { 'internalip': 'eth1', 'externalip': 'net2'}

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -711,6 +717,9 @@ def init():
# init tipsinfo config
init_tipsinfo()

# init welcomeinfo config
init_welcomeinfo()

# load geolocation config
init_geolocation()

Expand Down

0 comments on commit 2e0743d

Please sign in to comment.