Skip to content

Commit d8733ce

Browse files
committed
Playsound isn't blocking/synchronous anymore, so it's now possible to close the program while the conversion finish sound is played. Closes #24.
1 parent 05d6d68 commit d8733ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def convert():
9090

9191
elapsed = math.floor(time.time() - time_start)
9292
if cfg.sg.user_settings_get_entry("play_finish_sound"):
93-
playsound(resource_path("Media/finish.wav"))
93+
playsound(resource_path("Media/finish.wav"), block=False)
9494
print("Finished in {} {}".format(elapsed, pluralize("second", elapsed)))
9595

9696

0 commit comments

Comments
 (0)