diff --git a/dir_activities.py b/dir_activities.py index 198eae5..07f0047 100644 --- a/dir_activities.py +++ b/dir_activities.py @@ -4,4 +4,7 @@ def get_all(path): return [name for name in os.listdir(path) if os.path.isdir(os.path.join(path, name))] def has_artist_art(path): - return os.path.exists(os.path.join(path, "artist.jpg")) \ No newline at end of file + if(os.path.exists(os.path.join(path, "artist.jpg")))or (os.path.exists(os.path.join(path, "artist.png"))) + return True + else: + return False \ No newline at end of file