identify home better supports env home in non daemon
This commit is contained in:
parent
e5f3866f9e
commit
9571ea519d
2 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,9 @@ def identify_home():
|
|||
|
||||
path = os.environ.get('ONIONR_HOME', None)
|
||||
|
||||
if not os.getcwd().endswith('src') and path is not None:
|
||||
path = 'src/' + path
|
||||
|
||||
if path is None:
|
||||
system = platform.system()
|
||||
if system == 'Linux':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue