Commit 48d4a2f7 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Fix original directory

parent 967e970f
Pipeline #15583 failed with stages
in 9 minutes and 4 seconds
......@@ -7,6 +7,7 @@ import bob.bio.base
import bob.io.base
import bob.io.video
import numpy as np
from bob.extension import rc
from .common import swan_bio_file_metadata, read_audio
......@@ -62,7 +63,7 @@ class Database(bob.bio.base.database.FileListBioDatabase):
three main parts.
"""
def __init__(self, original_directory=None,
def __init__(self, original_directory=rc['bob.db.swan.directory'],
bio_file_class=SwanAudioBioFile, name='swan', **kwargs):
# call base class constructor
from pkg_resources import resource_filename
......
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