fix system name
This commit is contained in:
parent
f69cfa3dc6
commit
e867ce77dc
@ -26,7 +26,7 @@ model.eval()
|
|||||||
model.to(device)
|
model.to(device)
|
||||||
|
|
||||||
print("Print ipconfig")
|
print("Print ipconfig")
|
||||||
if platform == linux:
|
if platform == "linux":
|
||||||
os.system("ip r")
|
os.system("ip r")
|
||||||
else:
|
else:
|
||||||
os.system("ipconfig")
|
os.system("ipconfig")
|
||||||
|
Loading…
Reference in New Issue
Block a user