|
|
@ -44,10 +44,10 @@ STORE_URI = 'http://healthcareio.the-phi.com/store/healthcareio'
|
|
|
|
PATH = os.sep.join([os.environ.get('HOME'),'.healthcareio','custom'])
|
|
|
|
PATH = os.sep.join([os.environ.get('HOME'),'.healthcareio','custom'])
|
|
|
|
CONFIG = {}
|
|
|
|
CONFIG = {}
|
|
|
|
CUSTOM_CONFIG = {}
|
|
|
|
CUSTOM_CONFIG = {}
|
|
|
|
if os.path.exists(PATH) and os.listdir(PATH) :
|
|
|
|
# if os.path.exists(PATH) and os.listdir(PATH) :
|
|
|
|
CONFIG = json.loads((open(PATH)).read())
|
|
|
|
# CONFIG = json.loads((open(PATH)).read())
|
|
|
|
PATH = os.sep.join([PATH,os.listdir(PATH)[0]])
|
|
|
|
# PATH = os.sep.join([PATH,os.listdir(PATH)[0]])
|
|
|
|
CUSTOM_CONFIG = json.loads((open(PATH)).read())
|
|
|
|
# CUSTOM_CONFIG = json.loads((open(PATH)).read())
|
|
|
|
|
|
|
|
|
|
|
|
# _args = dict(CONFIG['store'],**{'type':'mongo.MongoReader'})
|
|
|
|
# _args = dict(CONFIG['store'],**{'type':'mongo.MongoReader'})
|
|
|
|
|
|
|
|
|
|
|
|