We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd214a1 commit 119ccabCopy full SHA for 119ccab
1 file changed
ffmpeg_streaming/_utiles.py
@@ -23,7 +23,7 @@ def get_path_info(path):
23
@TODO: add documentation
24
"""
25
dirname = os.path.dirname(path)
26
- name = str(os.path.basename(path).split('.')[0])
+ name = str(os.path.basename(path).rsplit('.', 1)[0])
27
28
return dirname, name
29
0 commit comments