summaryrefslogtreecommitdiff
path: root/ATRI/utils
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/utils')
-rw-r--r--ATRI/utils/machine.py3
1 files changed, 1 insertions, 2 deletions
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,
)