Piccola modifica

This commit is contained in:
Alhaziel01
2021-09-25 17:21:48 +02:00
parent 3838a22089
commit 4046014220
7 changed files with 28 additions and 50 deletions
+3 -1
View File
@@ -29,6 +29,8 @@ class nested_dict_sqlite(defaultdict):
self[key].close()
self.clear()
db_name = filetools.join(config.get_data_path(), "db.sqlite")
db = nested_dict_sqlite(lambda table: SqliteDict(db_name, table, 'c', True))
vdb_name = filetools.join(config.get_videolibrary_path(), "videolibrary.sqlite")
videolibrarydb = nested_dict_sqlite(lambda table: SqliteDict(vdb_name, table, 'c', True))