Commit 2ccd0c26 authored by Manuel Günther's avatar Manuel Günther
Browse files

Merge branch 'super' into 'master'

pass kwargs in the base file class

See merge request !26
parents af11e17f 030c796f
Pipeline #15128 passed with stages
in 26 minutes and 5 seconds
......@@ -8,12 +8,12 @@ from ..utils import FrameSelector
class VideoBioFile(BioFile):
def __init__(self, client_id, path, file_id):
def __init__(self, client_id, path, file_id, **kwargs):
Initializes this File object with an File equivalent for
VoxForge database.
super(VideoBioFile, self).__init__(client_id=client_id, path=path, file_id=file_id)
super(VideoBioFile, self).__init__(client_id=client_id, path=path, file_id=file_id, **kwargs)
def load(self, directory=None, extension='.avi', frame_selector=FrameSelector()):
return frame_selector(self.make_path(directory, extension))
Supports Markdown
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