fix: 清理debug时的print

This commit is contained in:
DLmaster361
2025-04-20 00:18:31 +08:00
parent e725f6d2b2
commit 5c8eebf12c

View File

@@ -53,8 +53,6 @@ class _Network(QThread):
self.if_running = True self.if_running = True
print(self.url)
if self.mode == "get": if self.mode == "get":
self.get_json(self.url) self.get_json(self.url)
elif self.mode == "get_file": elif self.mode == "get_file":
@@ -94,7 +92,6 @@ class _Network(QThread):
time.sleep(self.backoff_factor) time.sleep(self.backoff_factor)
self.loop.quit() self.loop.quit()
print("quited")
def get_file(self, url: str, path: Path) -> None: def get_file(self, url: str, path: Path) -> None:
"""通过get方法获取json数据""" """通过get方法获取json数据"""
@@ -114,7 +111,6 @@ class _Network(QThread):
self.error_message = str(e) self.error_message = str(e)
self.loop.quit() self.loop.quit()
print("quited-----")
Network = _Network() Network = _Network()