mirror of https://gitlab.com/bashrc2/epicyon
Image filename
parent
dc66f79a3a
commit
ada6680cf9
4
media.py
4
media.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue