fix config read bug

changed install script just or vagrant
updated readme
This commit is contained in:
scragg 2014-10-23 22:22:30 -05:00
parent d2171f9498
commit 528c28fefe
5 changed files with 21 additions and 67 deletions

View file

@ -17,8 +17,10 @@ def read():
conf[k[7:]] = v
loc = get_path()
with open(loc) as f:
conf.update(json.load(f))
if loc:
with open(loc) as f:
conf.update(json.load(f))
for k in ['APP_PATH', 'USER_HOME']:
if k in conf:

View file

@ -1 +1 @@
__version__ = '0.3.31'
__version__ = '0.4.0'