main
Bob Mottram 2021-03-06 23:04:58 +00:00
parent e9d49c91b0
commit dc66f79a3a
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ def _isMedia(imageFilename: str) -> bool:
"""Is the given file a media file? """Is the given file a media file?
""" """
if not os.path.isfile(_isMedia): if not os.path.isfile(_isMedia):
print('Media file does not exist ' + imageFilename)
return False return False
permittedMedia = getMediaExtensions() permittedMedia = getMediaExtensions()
for m in permittedMedia: for m in permittedMedia: