diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b04bc7..d5b3a5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -248,4 +248,4 @@ jobs: upload_url: ${{ needs.release.outputs.Up_Url }} asset_path: ${{ env.PACKAGENAME }}-x86_64.AppImage asset_name: ${{ env.PACKAGENAME }}-x86_64.AppImage - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip diff --git a/src/view/tool/local_eps_read_view.py b/src/view/tool/local_eps_read_view.py index 71b5859..471905c 100644 --- a/src/view/tool/local_eps_read_view.py +++ b/src/view/tool/local_eps_read_view.py @@ -1,21 +1,15 @@ -import json import os -from this import d from PySide6.QtCore import Signal, QUrl -from PySide6.QtGui import QAction, Qt, QDesktopServices -from PySide6.QtWidgets import QWidget, QMenu, QFileDialog +from PySide6.QtGui import QDesktopServices +from PySide6.QtWidgets import QWidget from natsort import natsorted from interface.ui_index import Ui_Index -from interface.ui_local import Ui_Local from interface.ui_local_eps import Ui_LocalEps from qt_owner import QtOwner -from server import req, Log, User, Status from task.qt_task import QtTaskBase from task.task_local import LocalData -from tools.str import Str -from view.tool.local_read_db import LocalReadDb class LocalEpsReadView(QWidget, Ui_LocalEps, QtTaskBase): diff --git a/src/view/tool/local_read_eps_view.py b/src/view/tool/local_read_eps_view.py index 5c8786b..01e6896 100644 --- a/src/view/tool/local_read_eps_view.py +++ b/src/view/tool/local_read_eps_view.py @@ -1,20 +1,11 @@ -import json -import os -from this import d - -from PySide6.QtCore import Signal, QUrl -from PySide6.QtGui import QAction, Qt, QDesktopServices -from PySide6.QtWidgets import QWidget, QMenu, QFileDialog -from natsort import natsorted +from PySide6.QtCore import Signal +from PySide6.QtWidgets import QWidget from interface.ui_index import Ui_Index -from interface.ui_local import Ui_Local from interface.ui_local_eps import Ui_LocalEps from qt_owner import QtOwner from task.qt_task import QtTaskBase from task.task_local import LocalData -from tools.str import Str -from view.tool.local_read_db import LocalReadDb class LocalReadEpsView(QWidget, Ui_LocalEps, QtTaskBase): diff --git a/src/view/tool/local_read_view.py b/src/view/tool/local_read_view.py index 50ddee6..79545a4 100644 --- a/src/view/tool/local_read_view.py +++ b/src/view/tool/local_read_view.py @@ -1,9 +1,7 @@ -import json import os -from this import d from PySide6.QtCore import Signal, QUrl -from PySide6.QtGui import QAction, Qt, QDesktopServices +from PySide6.QtGui import QAction, QDesktopServices from PySide6.QtWidgets import QWidget, QMenu, QFileDialog from natsort import natsorted @@ -473,4 +471,4 @@ def MoveCategory(self, bookId, categoryList): self.db.DelBookCategory(bookId) for v in categoryList: self.db.AddCategory(v, bookId) - self.Init() \ No newline at end of file + self.Init()