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
|
return False
|
||||||
if self.controller.process.Presentations.Count == 0:
|
if self.controller.process.Presentations.Count == 0:
|
||||||
return False
|
return False
|
||||||
except AttributeError:
|
except (AttributeError, pywintypes.com_error):
|
||||||
return False
|
|
||||||
except pywintypes.com_error:
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user