default profile bug fix. install.md fix
This commit is contained in:
parent
1e1772e306
commit
2ff41313f8
2 changed files with 7 additions and 4 deletions
|
@ -57,7 +57,10 @@ class Settings(dict, Singleton):
|
|||
data = fl.read()
|
||||
auto = json.loads(data)
|
||||
if 'path' in auto and 'name' in auto:
|
||||
return str(auto['path']), str(auto['name'])
|
||||
path = str(auto['path'])
|
||||
name = str(auto['name'])
|
||||
if os.path.isfile(append_slash(path) + name + '.tox'):
|
||||
return path, name
|
||||
return '', ''
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue