From 09d248b3cc34bea44cff73cd002a0324afd115ef Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Wed, 9 Nov 2016 13:34:04 -0600 Subject: [PATCH] bug fix: ensure the bundled ui is loaded --- lbrynet/lbrynet_daemon/UIManager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lbrynet/lbrynet_daemon/UIManager.py b/lbrynet/lbrynet_daemon/UIManager.py index 3a0133f7c..8d96b5993 100644 --- a/lbrynet/lbrynet_daemon/UIManager.py +++ b/lbrynet/lbrynet_daemon/UIManager.py @@ -255,11 +255,11 @@ class BundledUIManager(object): Returns True if there is a bundled UI, False otherwise """ if not self.bundle_is_available(): + log.debug('No bundled UI is available') return False - if self.is_active_already_bundled_ui(): - return True - log.info('Using bundled UI') - replace_dir(self.active_dir, self.bundled_ui_path) + if not self.is_active_already_bundled_ui(): + replace_dir(self.active_dir, self.bundled_ui_path) + log.info('Loading the bundled UI') load_ui(self.root, self.active_dir) return True