forked from openlp/openlp
Correct settings
This commit is contained in:
parent
baf967bf2a
commit
ca919b74c3
@ -72,7 +72,7 @@ class PresentationPlugin(Plugin):
|
|||||||
"""
|
"""
|
||||||
log.debug('check_pre_conditions')
|
log.debug('check_pre_conditions')
|
||||||
#Lets see if Impress is required (Default is Not wanted)
|
#Lets see if Impress is required (Default is Not wanted)
|
||||||
if int(self.config.get_config(u'Impress', 0)) == 2:
|
if int(self.config.get_config(u'Impress', 0)) == QtCore.Qt.Checked:
|
||||||
try:
|
try:
|
||||||
#Check to see if we have uno installed
|
#Check to see if we have uno installed
|
||||||
import uno
|
import uno
|
||||||
@ -81,7 +81,7 @@ class PresentationPlugin(Plugin):
|
|||||||
except:
|
except:
|
||||||
log.error(u'Reason : %s', sys.exc_info())
|
log.error(u'Reason : %s', sys.exc_info())
|
||||||
#Lets see if Impress is required (Default is Not wanted)
|
#Lets see if Impress is required (Default is Not wanted)
|
||||||
if int(self.config.get_config(u'Powerpoint', 0)) == 2:
|
if int(self.config.get_config(u'Powerpoint', 0)) == QtCore.Qt.Checked:
|
||||||
try:
|
try:
|
||||||
#Check to see if we are Win32
|
#Check to see if we are Win32
|
||||||
from win32com.client import Dispatch
|
from win32com.client import Dispatch
|
||||||
@ -90,7 +90,7 @@ class PresentationPlugin(Plugin):
|
|||||||
except:
|
except:
|
||||||
log.error(u'Reason : %s', sys.exc_info())
|
log.error(u'Reason : %s', sys.exc_info())
|
||||||
#Lets see if Impress is required (Default is Not wanted)
|
#Lets see if Impress is required (Default is Not wanted)
|
||||||
if int(self.config.get_config(u'Powerpoint Viewer', 0)) == 2:
|
if int(self.config.get_config(u'Powerpoint Viewer', 0)) == QtCore.Qt.Checked:
|
||||||
try:
|
try:
|
||||||
#Check to see if we are Win32
|
#Check to see if we are Win32
|
||||||
from win32com.client import Dispatch
|
from win32com.client import Dispatch
|
||||||
|
Loading…
Reference in New Issue
Block a user