forked from openlp/openlp
None tests redux
This commit is contained in:
parent
0baa0e6884
commit
132022205e
@ -165,7 +165,7 @@ class PowerpointDocument(PresentationDocument):
|
||||
Triggerent by new object being added to SlideController orOpenLP
|
||||
being shut down
|
||||
"""
|
||||
if self.presentation == None:
|
||||
if self.presentation is None:
|
||||
return
|
||||
try:
|
||||
self.presentation.Close()
|
||||
@ -181,9 +181,9 @@ class PowerpointDocument(PresentationDocument):
|
||||
if not self.controller.is_loaded():
|
||||
return False
|
||||
try:
|
||||
if self.presentation.SlideShowWindow == None:
|
||||
if self.presentation.SlideShowWindow is None:
|
||||
return False
|
||||
if self.presentation.SlideShowWindow.View == None:
|
||||
if self.presentation.SlideShowWindow.View is None:
|
||||
return False
|
||||
except:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user