From 9a9a7c9d7a5658e7886cb56ba28c1f4aab8fbca5 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 16 Feb 2016 13:55:46 -0500 Subject: [PATCH] update daemon --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index b92518b59..0ac2c9d20 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -169,9 +169,12 @@ class LBRYDaemon(xmlrpc.XMLRPC): if git_version == current_version: print "LBRYnet installation version " + current_version[:-1] + " is up to date" return defer.succeed(None) + print "Update LBRYnet version " + current_version[:-1] + " --> " + git_version[:-1] + self.restart_message = "Updates available" + else: + print "Update LBRYnet to version " + git_version[:-1] + self.restart_message = "Updates available" - print "Update LBRYnet version " + current_version[:-1] + " --> " + git_version[:-1] - self.restart_message = "Updates available" return defer.succeed(None) def _update_lbrycrdd(): @@ -185,9 +188,12 @@ class LBRYDaemon(xmlrpc.XMLRPC): if git_version == current_version: print "LBRY installation version " + current_version[:-1] + " is up to date" return defer.succeed(None) + print "Update LBRY version " + current_version[:-1] + " --> " + git_version[:-1] + self.restart_message = "Updates available" + else: + print "Update LBRY to version " + git_version[:-1] + self.restart_message = "Updates available" - print "Update LBRY version " + current_version[:-1] + " --> " + git_version[:-1] - self.restart_message = "Updates available" return defer.succeed(None) d = _check_for_updater()