Skip to content

Commit

Permalink
allow sound_file_name to be taken in without extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCrane committed Jul 28, 2021
1 parent 7696606 commit 4d65c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manimlib/utils/sounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ def get_full_sound_file_path(sound_file_name):
return find_file(
sound_file_name,
directories=[get_sound_dir()],
extensions=[".wav", ".mp3"]
extensions=[".wav", ".mp3", ""]
)

0 comments on commit 4d65c97

Please sign in to comment.