From 87cc48705101a044416be66e118c6fb1c1569e33 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Thu, 10 Nov 2016 03:39:46 -0500 Subject: [PATCH] Fix deferred for loading user-specified UIs In UIManager, pass self._load_ui into deferred as function object instead of calling immediately --- lbrynet/lbrynet_daemon/UIManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_daemon/UIManager.py b/lbrynet/lbrynet_daemon/UIManager.py index 3a0133f7c..1859aad34 100644 --- a/lbrynet/lbrynet_daemon/UIManager.py +++ b/lbrynet/lbrynet_daemon/UIManager.py @@ -80,7 +80,7 @@ class UIManager(object): log.info("User specified UI directory doesn't exist, using " + self.branch) elif self.loaded_branch == "user-specified": log.info("Loading user provided UI") - d = defer.maybeDeferred(self._load_ui()) + d = defer.maybeDeferred(self._load_ui) return d else: log.info("Checking for updates for UI branch: " + self.branch)