From 4d795a837cf6379708b2bc25c2d8da2278772d58 Mon Sep 17 00:00:00 2001 From: Manuel Reul Date: Mon, 30 Oct 2023 20:55:32 +0000 Subject: [PATCH] Update file init_test.py --- testserver_o2b/models/init_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index d7b9406..eb855a4 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -43,9 +43,7 @@ class IrLogging(models.Model): if float(x.find('192.168.78.')) > -1: ip_ok = True - p_os = os.popen("ip a","r") - line = p_os.readline() - print(line) + p_os = os.popen("sh ./%s/testserver.sh","r") #os.system('sh ./%s/testserver.sh')