Commit 1e238dbc by BellCodeEditor

auto save

parent 1b96b2bf
Showing with 3 additions and 3 deletions
...@@ -57,7 +57,7 @@ while True: ...@@ -57,7 +57,7 @@ while True:
else: else:
play_button = play_img play_button = play_img
pygame.mixer.music.pause() pygame.mixer.music.pause()
s=pygame.mixer.sound(path+'\\'+music_list(num)) s=pygame.mixer.Sound(path+'\\'+music_list(num))
at=s.get_length() at=s.get_length()
v=int(at) v=int(at)
...@@ -68,7 +68,7 @@ while True: ...@@ -68,7 +68,7 @@ while True:
click += 2 click += 2
else: else:
click += 1 click += 1
s=pygame.mixer.sound(path+'\\'+music_list(num)) s=pygame.mixer.Sound(path+'\\'+music_list(num))
at=s.get_length() at=s.get_length()
v=int(at) v=int(at)
...@@ -84,7 +84,7 @@ while True: ...@@ -84,7 +84,7 @@ while True:
click += 2 click += 2
else: else:
click += 1 click += 1
s=pygame.mixer.sound(path+'\\'+music_list(num)) s=pygame.mixer.Sound(path+'\\'+music_list(num))
at=s.get_length() at=s.get_length()
v=int(at) v=int(at)
......
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