Skip to content

Commit

Permalink
修复了一些已知问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mikigo committed Nov 15, 2024
1 parent c8f8b9b commit a2d6de4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setting/globalconfig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SYS_THEME = deepin

;=============================== OCR CONFIG ===================================
;OCR服务端地址
OCR_SERVER_HOST = 10.8.13.7/10.8.13.66/10.8.13.55/10.8.13.100
OCR_SERVER_HOST = 10.8.15.2/10.8.15.6/10.8.15.7/10.8.15.8

;OCR端口
OCR_PORT = 8890
Expand All @@ -128,7 +128,7 @@ OCR_MAX_MATCH_NUMBER = 100

;=============================== IMAGE CONFIG ===================================
;OpenCV服务端地址
OPENCV_SERVER_HOST = 10.8.12.175
OPENCV_SERVER_HOST = 10.8.15.15

;图像识别端口
OPENCV_PORT = 8889
Expand Down
1 change: 1 addition & 0 deletions src/cmdctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def sudo_run_cmd(
password = conf.PASSWORD
wd = ""
if workdir:
workdir = os.path.expanduser(workdir)
if not os.path.exists(workdir):
raise FileNotFoundError
wd = f"cd {workdir} && "
Expand Down

0 comments on commit a2d6de4

Please sign in to comment.