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.
2 parents cd214a1 + 119ccab commit 731530fCopy full SHA for 731530f
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