forked from openlp/openlp
Merge excepts together (again)
This commit is contained in:
parent
84b7a4f4ad
commit
1ea6d1da50
@ -168,9 +168,7 @@ class PowerpointDocument(PresentationDocument):
|
||||
return False
|
||||
if self.controller.process.Presentations.Count == 0:
|
||||
return False
|
||||
except AttributeError:
|
||||
return False
|
||||
except pywintypes.com_error:
|
||||
except (AttributeError, pywintypes.com_error):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user