diff --git a/NFLmusic.py b/NFLmusic.py index 49e346d..29eca46 100644 --- a/NFLmusic.py +++ b/NFLmusic.py @@ -347,7 +347,7 @@ def delete(): if search_words in os.path.splitext(file)[0]: music_dir_filtered.append(file) music_dir0 = music_dir_filtered - music_dir_without_endswith0 = [os.path.splitext(file)[0] for file in music_dir if + music_dir_without_endswith0 = [os.path.splitext(file)[0] for file in music_dir0 if file.endswith(('.mp3', '.flac', '.ogg', '.m4a'))] abs_path = path + "/" + music_dir0[listbox1.curselection()[0]] abs_path_lrc = path + "/" + music_dir_without_endswith0[listbox1.curselection()[0]] + ".lrc" @@ -1238,7 +1238,7 @@ def search_local_song(): time.sleep(1) -version = "4.1.6" +version = "4.1.7" poem = "" appdata = os.getenv("APPDATA") make_resource()