Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
修复错误
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Mar 6, 2022
1 parent 90b85e5 commit d465d85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import requests
import urllib3

import src.server.res as res
import server.res as res
from config import config
from config.setting import Setting
from tools.tool import ToolUtil
Expand Down
4 changes: 2 additions & 2 deletions src/task/task_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def DownloadTask(self, url, path, downloadCallBack=None, completeCallBack=None,
data.loadPath = filePath

Log.Debug("add download info, cachePath:{}, loadPath:{}".format(data.cacheAndLoadPath, data.loadPath))
from src.server import Server
from src.server import req
from server import Server
from server import req
if isSaveFile:
savePath = filePath
data.loadPath = ""
Expand Down
4 changes: 2 additions & 2 deletions src/view/info/book_info_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from config.setting import Setting
from interface.ui_book_info import Ui_BookInfo
from qt_owner import QtOwner
from src.server import req, Log, config
from src.util.status import Status
from server import req, Log, config
from util.status import Status
from task.qt_task import QtTaskBase
from tools.book import BookMgr
from tools.str import Str
Expand Down
2 changes: 1 addition & 1 deletion src/view/user/favorite_info_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from component.dialog.base_mask_dialog import BaseMaskDialog
from interface.ui_favorite_info import Ui_FavoriteInfo
from qt_owner import QtOwner
from src.server import req, Status
from server import req, Status
from task.qt_task import QtTaskBase

from tools.str import Str
Expand Down

0 comments on commit d465d85

Please sign in to comment.