Commits

Daniel Neuhäuser committed 579c686

Fixed a couple of things

Comments (0)

Files changed (1)

         return False
     for path in args:
         for directory in iter_directories(path):
-            if "cover.jpg" in os.listdir(directory):
+            files = os.listdir(directory)
+            if any(f.startswith("cover") for f in files):
                 continue
             audio_files = [
-                f for f in os.listdir(directory) if any(
+                f for f in files if any(
                     imap(f.endswith, SUPPORTED_FORMATS)
                 )
             ]