Skip to content

Commit d6c9ac6

Browse files
MicheleCarboneraMicheleCarbonera
authored andcommitted
fix music pause - float duration
1 parent 2c9eff4 commit d6c9ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

music.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def test(self):
6262
#play a pause
6363
# @param duration: duration of the pause in seconds
6464
def play_pause(self, duration):
65+
duration = float(duration)
6566
time.sleep(duration)
6667

6768
#play a given note for a given instrument

0 commit comments

Comments
 (0)