presentations: Prevent check_available returning None

This commit is contained in:
Bastian Germann 2020-09-29 23:41:51 +02:00
parent 92030e63c4
commit a0a67f5917
2 changed files with 2 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class KeynoteController(AppleScriptBaseController):
return True
except ValueError:
pass
return False
return False
class KeynoteDocument(AppleScriptBaseDocument):

View File

@ -308,6 +308,7 @@ class PowerPointMacController(AppleScriptBaseController):
return False
if major_version >= 15:
return True
return False
class PowerPointMacDocument(AppleScriptBaseDocument):