don't start lbry app if daemon is running in console

This commit is contained in:
Jack 2016-03-28 14:21:41 -04:00
parent fa1d4dae0f
commit 63b2c49354

View file

@ -51,9 +51,9 @@ class LBRYURIHandler(object):
try:
status = json.loads(self.daemon.is_running())['result']
except:
pass
status = None
if lbry_process:
if lbry_process or status:
self.check_status()
started = False
else: