Commit e46a6f91 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

The SQLiteDatabase now accepts original_directory and original_extension

parent d8e07dd6
Pipeline #9177 passed with stages
in 31 minutes and 3 seconds
......@@ -37,9 +37,8 @@ class Database(bob.db.base.SQLiteDatabase):
def __init__(self, original_directory = None, original_extension = '.jpg'):
# call base class constructors
super(Database, self).__init__(SQLITE_FILE, File)
self.original_directory = original_directory
self.original_extension = original_extension
super(Database, self).__init__(SQLITE_FILE, File,
original_directory, original_extension)
def groups(self, protocol=None):
"""Returns the names of all registered groups"""
py:class bob.db.base.file.File
py:class bob.db.base.database.SQLiteDatabase
py:class sqlalchemy.ext.declarative.api.Base
py:exc ValueError
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment