Skip to content

Commit ddf95da

Browse files
committed
fix: path issue
1 parent aa03e98 commit ddf95da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/subtitle/api/whisper_sdk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def print_segment_info(segments):
3737

3838

3939
def check_file_format(filename):
40+
filename = str(filename)
4041
if filename[-4:] != ".mp3":
4142
mp3filename = filename[:-4] + ".mp3"
4243
command = [

0 commit comments

Comments
 (0)