forked from openlp/openlp
presentations: Prevent check_available returning None
This commit is contained in:
parent
92030e63c4
commit
a0a67f5917
@ -272,7 +272,7 @@ class KeynoteController(AppleScriptBaseController):
|
|||||||
return True
|
return True
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
class KeynoteDocument(AppleScriptBaseDocument):
|
class KeynoteDocument(AppleScriptBaseDocument):
|
||||||
|
@ -308,6 +308,7 @@ class PowerPointMacController(AppleScriptBaseController):
|
|||||||
return False
|
return False
|
||||||
if major_version >= 15:
|
if major_version >= 15:
|
||||||
return True
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
class PowerPointMacDocument(AppleScriptBaseDocument):
|
class PowerPointMacDocument(AppleScriptBaseDocument):
|
||||||
|
Loading…
Reference in New Issue
Block a user