Commit ca98f4e8 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

The SQLiteDatabase now accepts original_directory and original_extension

parent d543981a
Pipeline #9198 passed with stages
in 26 minutes and 31 seconds
......@@ -24,10 +24,10 @@ class Database(Database):
and for the data itself inside the database.
def __init__(self):
def __init__(self, original_directory=None, original_extension=None):
# opens a session to the database - keep it open until the end
super(Database, self).__init__()
super(Database, self).__init__(original_directory, original_extension)
def __del__(self):
"""Releases the opened file descriptor"""
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