Skip to content

Commit 201e747

Browse files
committed
Removed some experimental code from get_platform.
1 parent 8ff466f commit 201e747

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

s_tracker.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import time
2121
import cpuinfo
2222
import locale
23-
import threading
2423

2524
gb = 10 ** 9
2625
#print("GB VALUE:",gb)
@@ -92,7 +91,7 @@ def get_account():
9291
print(f"Last login: ", time_now, t_n)
9392

9493

95-
def get_platform():
94+
def get_platform():
9695
print(f"Computer Name: {system_name}")
9796
print(f"Platform: {user_platform}")
9897
print(f"Platform Release: {user_platform_rel}")
@@ -114,7 +113,7 @@ def get_platform():
114113
print(f'Total Bytes Recieved: {get_size(bytes_recv)} \n')
115114
print(f'Physical Core Count: {physicalcore_count}')
116115
print(f'Total Core Count: {totalcore_count}')
117-
116+
118117

119118
#this function converts larger numbers into - Kilobytes - MegaBytes - Gigabytes - TeraBytes - PetaBytes
120119
def get_size(bytes, suffix="B"):

0 commit comments

Comments
 (0)