bug fix: ensure the bundled ui is loaded

This commit is contained in:
Job Evers-Meltzer 2016-11-09 13:34:04 -06:00
parent f3a71245e8
commit 09d248b3cc

View file

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