fix system name

This commit is contained in:
mkozlowskiAzimuthe 2023-01-22 23:52:34 +01:00
parent f69cfa3dc6
commit e867ce77dc

View File

@ -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")