forked from openlp/openlp
Presentation Plugin - cleanup
This commit is contained in:
parent
b94f091fb2
commit
00eecfc8c2
@ -135,6 +135,7 @@ class PluginManager(object):
|
||||
"""
|
||||
Loop through all the plugins. If a plugin has a valid settings tab
|
||||
item, add it to the settings tab.
|
||||
Tabs are set for all plugins not just Active ones
|
||||
|
||||
``settingsform``
|
||||
Defaults to *None*. The settings form to add tabs to.
|
||||
|
@ -19,6 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
|
||||
from PyQt4 import QtCore, QtGui
|
||||
@ -73,7 +74,7 @@ class PresentationPlugin(Plugin):
|
||||
openoffice = impressController()
|
||||
self.registerControllers(u'Impress', openoffice)
|
||||
except:
|
||||
pass
|
||||
log.error(u'Reason : %s', sys.exc_info()[0])
|
||||
#If we have no controllers disable plugin
|
||||
if len(self.controllers) > 0:
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user