Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion polymath.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def audio_process(vids, videos):
print('------ process audio',vid)
# extract file name
audioname = vid.split("/")[-1]
audioname, _ = audioname.split(".")
audioname, _ = os.path.splitext(audioname)

# generate a unique ID based on file path and name
hash_object = hashlib.sha256(vid.encode())
Expand Down