Update MgrCalibreDB.py, MgrCalibreUI.py, and 3 more files...
python - requirements.txt added
This commit is contained in:
@@ -4,6 +4,14 @@ import UtilPack as util
|
||||
import MgrSQLiteDB as MyDB
|
||||
|
||||
class MgrPupilColDB(MyDB.MgrSQLiteDB):
|
||||
def __init__(self, path: str):
|
||||
super().__init__(path)
|
||||
self.init()
|
||||
|
||||
def init(self):
|
||||
# 데이터베이스 연결 (파일이 없으면 새로 생성됨)
|
||||
self.conn = sqlite3.connect(f'file:{self.path}?charset=UTF-8', uri=True)
|
||||
self.cursor = self.conn.cursor()
|
||||
|
||||
# ID -> HitomiID, ArchiveID, Title, Authors, Group, Series, Type. Language, Tags, Description,
|
||||
def GetBookByID(self, nID: int) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user