Skip to content

Commit 731530f

Browse files
Merge pull request #48 from DakarXY/patch-1
changed getting filename
2 parents cd214a1 + 119ccab commit 731530f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ffmpeg_streaming/_utiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_path_info(path):
2323
@TODO: add documentation
2424
"""
2525
dirname = os.path.dirname(path)
26-
name = str(os.path.basename(path).split('.')[0])
26+
name = str(os.path.basename(path).rsplit('.', 1)[0])
2727

2828
return dirname, name
2929

0 commit comments

Comments
 (0)