From 63b2c49354ba5b6a6eb17321232f7f047083237e Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 28 Mar 2016 14:21:41 -0400 Subject: [PATCH] don't start lbry app if daemon is running in console --- lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py b/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py index 9bab2e2d8..f1dc04c00 100644 --- a/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py +++ b/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py @@ -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: