From 5a2ef3a696ddccbc1faef1e2e90f5b535ec24a0d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 11 一月 2024 10:06:14 +0800 Subject: [PATCH] 看盘网页修改/接口本地化代理 --- gui_wx.py | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gui_wx.py b/gui_wx.py index 70a2a8e..8d0b7b2 100644 --- a/gui_wx.py +++ b/gui_wx.py @@ -11,15 +11,14 @@ import cv2 import win32con import win32gui -from matplotlib.animation import FuncAnimation import constant import juejin_data_export -import ocr_util -import opencv_util +from utils import ocr_util +from utils import opencv_util import setting -import socket_util -import ths_util +from utils import socket_util +from utils import ths_util import win32_util # freeze_support() @@ -37,7 +36,7 @@ import code_data_manager import juejin_core -import tool +from utils import tool import requests from sell_processor import TickDataProcess @@ -2042,17 +2041,12 @@ t1.start() elif type_ == "juejin_tick_download": wx.CallAfter(lambda: JueJinTickDataDownloadFrame().Show()) - - elif type_ == "exit": try: jueJinProcess.terminate() except: pass wx.CallAfter(lambda: sys.exit()) - - - except Exception as e: logging.exception(e) -- Gitblit v1.8.0