Commit 5e97a3b2 by BellCodeEditor

auto save

parent daf53b63
Showing with 1 additions and 1 deletions
......@@ -19,7 +19,7 @@ my_music=[]
path="C:\\Users\\饮水思源\\Desktop\\test"
filelist=os.listdir(path)
for i in filelist:
if filelist[-4:]=='mp3':
if i[-4:]=='.mp3':
my_music.append(i)
num=-1
volume = 0.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment