You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
234 B
15 lines
234 B
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
import importloader
|
|
|
|
g_config = None
|
|
|
|
def load_config():
|
|
global g_config
|
|
g_config = importloader.loads(['userapiconfig', 'apiconfig'])
|
|
|
|
def get_config():
|
|
return g_config
|
|
|
|
load_config()
|
|
|
|
|