forked from openlp/openlp
Fix wrong indentation
This commit is contained in:
parent
23ddd918d1
commit
e21729c14f
@ -83,9 +83,6 @@ class PowerpointController(PresentationController):
|
|||||||
log.debug('start_process')
|
log.debug('start_process')
|
||||||
if not self.process:
|
if not self.process:
|
||||||
self.process = Dispatch('PowerPoint.Application')
|
self.process = Dispatch('PowerPoint.Application')
|
||||||
#self.process.Visible = True
|
|
||||||
# ppWindowMinimized = 2
|
|
||||||
#self.process.WindowState = 2
|
|
||||||
|
|
||||||
def kill(self):
|
def kill(self):
|
||||||
"""
|
"""
|
||||||
@ -311,7 +308,7 @@ class PowerpointDocument(PresentationDocument):
|
|||||||
try:
|
try:
|
||||||
ppt_window = self.presentation.SlideShowSettings.Run()
|
ppt_window = self.presentation.SlideShowSettings.Run()
|
||||||
except (AttributeError, pywintypes.com_error) as e:
|
except (AttributeError, pywintypes.com_error) as e:
|
||||||
log.exception('Caught exception while in get_slide_number')
|
log.exception('Caught exception while in get_slide_number')
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
trace_error_handler(log)
|
trace_error_handler(log)
|
||||||
self.show_error_msg()
|
self.show_error_msg()
|
||||||
|
Loading…
Reference in New Issue
Block a user