bug fix: custom folders

master
Steve L. Nyemba 4 years ago
parent b9ad861db9
commit ae0f768ec5

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

@ -8,7 +8,7 @@ import sys
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":"healthcareio","version":"1.5.0",
"name":"healthcareio","version":"1.5.1",
"author":"Vanderbilt University Medical Center",
"author_email":"steve.l.nyemba@vumc.org",
"include_package_data":True,

Loading…
Cancel
Save