diff --git a/my_music.py b/my_music.py index 50936a0..4539921 100644 --- a/my_music.py +++ b/my_music.py @@ -38,7 +38,7 @@ while True: pygame.mixer.music.set_volume(volume) if event.type == locals.MOUSEBUTTONDOWN: - if event.button == 1 + if event.button == 1: x,y = event.button == 1 if x > 270 and x < 370 and y > 350 and y < 450: click += 1