This commit is contained in:
Rudi Grinberg 2012-07-09 16:30:54 -04:00
parent c279e008d0
commit 32c3e877a5
1 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ class MediaMonitorCommon:
def is_audio_file(self, filename):
info = filename.split(".")
if len(info) < 2: return false # handle cases like filename="mp3"
if len(info) < 2: return False # handle cases like filename="mp3"
return info[-1].lower() in self.supported_file_formats
#check if file is readable by "nobody"