This commit is contained in:
Tim Bentley 2019-01-04 20:39:05 +00:00
parent 588fc947c3
commit fb978fca99

View File

@ -169,9 +169,8 @@ class PluginManager(RegistryBase, LogMixin, RegistryProperties):
self.log_exception('Unable to initialise plugin {plugin}'.format(plugin=plugin.name))
display_text = ''
if uninitialised_plugins:
display_text = translate('OpenLP.PluginManager',
'Unable to initialise the following plugins:') + \
'\n\n'.join(uninitialised_plugins) + '\n\n'
display_text = translate('OpenLP.PluginManager', 'Unable to initialise the following plugins:') + \
'\n\n'.join(uninitialised_plugins) + '\n\n'
error_text = State().get_text()
if error_text:
display_text = display_text + error_text + '\n'