From f69cfa3dc6bffed60202b55c4d2d99b9935d9bb2 Mon Sep 17 00:00:00 2001 From: mkozlowskiAzimuthe Date: Sun, 22 Jan 2023 23:51:47 +0100 Subject: [PATCH] fix --- single_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single_eval.py b/single_eval.py index 142e35b..d5c6516 100644 --- a/single_eval.py +++ b/single_eval.py @@ -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")