fix typo
This commit is contained in:
parent
c279e008d0
commit
32c3e877a5
|
@ -51,7 +51,7 @@ class MediaMonitorCommon:
|
||||||
|
|
||||||
def is_audio_file(self, filename):
|
def is_audio_file(self, filename):
|
||||||
info = filename.split(".")
|
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
|
return info[-1].lower() in self.supported_file_formats
|
||||||
|
|
||||||
#check if file is readable by "nobody"
|
#check if file is readable by "nobody"
|
||||||
|
|
Loading…
Reference in New Issue