mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 09:07:45 +00:00
allow sound_file_name to be taken in without extensions
This commit is contained in:
parent
76966064ce
commit
4d65c97965
1 changed files with 1 additions and 1 deletions
|
|
@ -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", ""]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue