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