From ec4cc6d4ccba433cf10678b3d767e588a2d00e91 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 16 十二月 2024 16:57:33 +0800
Subject: [PATCH] 去除掘金依赖

---
 main.py |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/main.py b/main.py
index dd13d65..308e841 100644
--- a/main.py
+++ b/main.py
@@ -55,17 +55,18 @@
             result, need_delegate = LocalKanPanNetworkDelegate.http_delegate_request(url)
             if not need_delegate:
                 result = network_util.http_get(url)
-            print(url, "璇锋眰缁撴灉锛�", result)
+            print(url, "璇锋眰缁撴灉锛�",url, result)
             self.signal_request.emit(callback_info[0], callback_info[1], result)
             return result
         except Exception as e:
+            print("閾炬帴璇锋眰鍑洪敊锛�"+ url)
             logging.exception(e)
 
     def __socket_request(self, text, callback_info):
         try:
             print("socket璜嬫眰锛�", text)
             result = network_util.socket_request(text)
-            print("璇锋眰缁撴灉锛�", result)
+            print("璇锋眰缁撴灉锛�",text,  result)
             self.signal_request.emit(callback_info[0], callback_info[1], result)
             return result
         except Exception as e:
@@ -406,12 +407,6 @@
             ps = (self.x(), self.y())
             size = (self.width(), self.height())
             self.wx_pipe.send(json.dumps({"type": "manage_ths_pos", "pos": (ps[0] + size[0] / 2, ps[1] + size[1] / 2)}))
-
-        def __show_float_callback():
-            self.wx_pipe.send(json.dumps({"type": "show_float_callback"}))
-
-        def __show_main_callback():
-            self.wx_pipe.send(json.dumps({"type": "show_main_callback"}))
 
         def __show_second_window():
             self.secondWindow.show()

--
Gitblit v1.8.0