From 061ee37ba2fffb47b29021090ffbf2b883f3fa62 Mon Sep 17 00:00:00 2001 From: Young Hoon Lee <> Date: Tue, 23 Sep 2025 19:46:03 +0900 Subject: [PATCH] dkdkdkdkdkdk --- MgrCalibreUI.py | 2 +- MgrPupilColDB.py | 5 ++- UtilPack.py | 2 +- requirements.txt | 87 ++++++++---------------------------------------- 4 files changed, 20 insertions(+), 76 deletions(-) diff --git a/MgrCalibreUI.py b/MgrCalibreUI.py index 613393b..e7d533d 100644 --- a/MgrCalibreUI.py +++ b/MgrCalibreUI.py @@ -61,7 +61,7 @@ class MyApp(QMainWindow): if False == os.path.exists(self.pathDB): os.makedirs(self.pathDB, exist_ok=True) - self.pathLastCalibre = settings.value('LastCalibrePath', "~/CalibreLibrary", type=str) + self.pathLastCalibre = settings.value('LastCalibrePath', "~/Calibre Library", type=str) if False == os.path.exists(self.pathDB): os.makedirs(self.pathDB, exist_ok=True) diff --git a/MgrPupilColDB.py b/MgrPupilColDB.py index 41f2c9d..dc00014 100644 --- a/MgrPupilColDB.py +++ b/MgrPupilColDB.py @@ -62,7 +62,7 @@ class MgrPupilColDB(MyDB.MgrSQLiteDB): def GetTagIDByName(self, strTag: str) -> int: return self.GetIDByName("tags", strTag) - # + """ ["id"] ["title"] ["language"] @@ -91,6 +91,9 @@ class MgrPupilColDB(MyDB.MgrSQLiteDB): ["character"] ["url"] ["files"] + """ + + def AddBook(self, nHitomiID: int, strArchiveID: str, strTitle: str, listAuthors: list[str], listGroups: list[str], listSeries: list[str], strType: str, strLanguage: str, listTags: list[str], strDescription: str) -> int: diff --git a/UtilPack.py b/UtilPack.py index 1dfa78b..00f8cbb 100644 --- a/UtilPack.py +++ b/UtilPack.py @@ -34,7 +34,7 @@ def GetCurrentTime() -> str: minute = current_time_struct.tm_min second = current_time_struct.tm_sec - strRet = (f"{year}/{month}/{day}_{hour}:{minute}:{second}") + strRet = (f"{year}-{month}-{day}_{hour}:{minute}:{second}") return strRet diff --git a/requirements.txt b/requirements.txt index fb5d56d..122b994 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,73 +1,14 @@ -appnope==0.1.4 -asgiref==3.8.1 -asttokens==2.4.1 -attrs==23.2.0 -beautifulsoup4==4.12.3 -bs4==0.0.2 -certifi==2024.2.2 -cloudpickle==3.0.0 -comm==0.2.2 -ctype==7.4.2 -debugpy==1.8.1 -decorator==5.1.1 -Django==5.0.4 -et-xmlfile==1.1.0 -executing==2.0.1 -h11==0.14.0 -idna==3.6 -image==1.5.33 -ipykernel==6.29.4 -ipython==8.23.0 -jedi==0.19.1 -jupyter_client==8.6.1 -jupyter_core==5.7.2 -matplotlib-inline==0.1.6 -nest-asyncio==1.6.0 -numpy==1.26.4 -openpyxl==3.1.2 -outcome==1.3.0.post0 -packaging==24.0 -pandas==2.2.2 -parso==0.8.3 -pexpect==4.9.0 -pillow==10.3.0 -platformdirs==4.2.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 -ptyprocess==0.7.0 -pure-eval==0.2.2 -Pygments==2.17.2 -PyQt5==5.15.11 -PyQt5-Qt5==5.15.14 -PyQt5_sip==12.15.0 -PyQt6==6.7.0 -PyQt6-Qt6==6.7.0 -PyQt6-sip==13.6.0 -PySide6==6.6.3.1 -PySide6_Addons==6.6.3.1 -PySide6_Essentials==6.6.3.1 -PySocks==1.7.1 -python-dateutil==2.9.0.post0 -pytz==2024.1 -pyzmq==25.1.2 -rarfile==4.2 -selenium==4.19.0 -shiboken6==6.6.3.1 -six==1.16.0 -sniffio==1.3.1 -sortedcontainers==2.4.0 -soupsieve==2.5 -spyder-kernels==2.5.1 -sqlparse==0.5.0 -stack-data==0.6.3 -tk==0.1.0 -tornado==6.4 -traitlets==5.14.2 -trio==0.25.0 -trio-websocket==0.11.1 -typing_extensions==4.10.0 -tzdata==2024.1 -urllib3==2.2.1 -wcwidth==0.2.13 -wsproto==1.2.0 -wurlitzer==3.0.3 +beautifulsoup4>=4.12.3 +image>=1.5.33 +jedi>=0.19.1 +numpy>=1.26.4 +openpyxl>=3.1.2 +pandas>=2.2.2 +PyQt5>=5.15.11 +PyQt6>=6.7.0 +python-dateutil>=2.9.0.post0 +pytz>=2024.1 +pyzmq>=25.1.2 +rarfile>=4.2 +selenium>=4.19.0 +sqlparse>=0.5.0