fix config read bug
changed install script just or vagrant updated readme
This commit is contained in:
parent
d2171f9498
commit
528c28fefe
5 changed files with 21 additions and 67 deletions
|
@ -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:
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.3.31'
|
||||
__version__ = '0.4.0'
|
Loading…
Add table
Add a link
Reference in a new issue