Update MgrCalibreDB.py, MgrCalibreUI.py, and 3 more files...
python - requirements.txt added
This commit is contained in:
@@ -4,9 +4,11 @@ import UtilPack as util
|
||||
import MgrSQLiteDB as MyDB
|
||||
|
||||
class MgrCalibreDB(MyDB.MgrSQLiteDB):
|
||||
def init(self):
|
||||
print(f"{self.path} DB Calibre Init")
|
||||
def __init__(self, path: str):
|
||||
super().__init__(path)
|
||||
self.init()
|
||||
|
||||
def init(self):
|
||||
# 데이터베이스 연결 (파일이 없으면 새로 생성됨)
|
||||
self.conn = sqlite3.connect(self.path)
|
||||
self.conn.create_function("title_sort", 1, self._title_sort )
|
||||
|
||||
Reference in New Issue
Block a user