From 34e7540e9caac8dc96e490ef035f73753452eb38 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Thu, 9 Mar 2023 17:15:27 +0000 Subject: =?UTF-8?q?:rotating=5Flight:=20=E8=87=AA=E5=8A=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/utils/machine.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ATRI/utils') diff --git a/ATRI/utils/machine.py b/ATRI/utils/machine.py index d24c05e..a2b5b55 100644 --- a/ATRI/utils/machine.py +++ b/ATRI/utils/machine.py @@ -55,7 +55,6 @@ class NetInfo(BaseModel): package_recv: int - def get_platform_info() -> PlatformInfo: return PlatformInfo( name=platform.platform(), struct=platform.architecture()[0], type=pf @@ -154,5 +153,5 @@ def get_net_info(): sent_total=net.bytes_sent, recv_total=net.bytes_recv, package_sent=net.packets_sent, - package_recv=net.packets_recv + package_recv=net.packets_recv, ) -- cgit v1.2.3