Commit 26a94a36 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Fixed tuple indexing bug in youtube db load function

parent 2acbfd5a
Pipeline #13905 passed with stages
in 14 minutes and 38 seconds
......@@ -38,7 +38,7 @@ class YoutubeBioFile(VideoBioFile):
fc = FrameContainer()
files = self.files(directory, extension)
for f in frame_selector(files):
file_name = os.path.join(self.make_path(directory, ''), f)
file_name = os.path.join(self.make_path(directory, ''), f[0])
fc.add(os.path.basename(file_name), bob.io.base.load(file_name))
return fc
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment