Fix deferred for loading user-specified UIs

In UIManager, pass self._load_ui into deferred as function object
instead of calling immediately
This commit is contained in:
Alex Liebowitz 2016-11-10 03:39:46 -05:00
parent 5ea945ca0b
commit 87cc487051

View file

@ -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)