Image filename

merge-requests/21/head
Bob Mottram 2021-03-06 23:07:54 +00:00
parent dc66f79a3a
commit ada6680cf9
1 changed files with 2 additions and 2 deletions

View File

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