don't start lbry app if daemon is running in console
This commit is contained in:
parent
fa1d4dae0f
commit
63b2c49354
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@ class LBRYURIHandler(object):
|
||||||
try:
|
try:
|
||||||
status = json.loads(self.daemon.is_running())['result']
|
status = json.loads(self.daemon.is_running())['result']
|
||||||
except:
|
except:
|
||||||
pass
|
status = None
|
||||||
|
|
||||||
if lbry_process:
|
if lbry_process or status:
|
||||||
self.check_status()
|
self.check_status()
|
||||||
started = False
|
started = False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue