Skip to content

Commit

Permalink
Merge pull request #324 from Z-fly/main
Browse files Browse the repository at this point in the history
修正意义不明的 from this import d
  • Loading branch information
tonquer authored Sep 5, 2024
2 parents bde4d12 + abdf426 commit 1681620
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
asset_content_type: application/zip
10 changes: 2 additions & 8 deletions src/view/tool/local_eps_read_view.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
13 changes: 2 additions & 11 deletions src/view/tool/local_read_eps_view.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
6 changes: 2 additions & 4 deletions src/view/tool/local_read_view.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -473,4 +471,4 @@ def MoveCategory(self, bookId, categoryList):
self.db.DelBookCategory(bookId)
for v in categoryList:
self.db.AddCategory(v, bookId)
self.Init()
self.Init()

0 comments on commit 1681620

Please sign in to comment.