From c2e0ae6d56d5ec767a52d94aeb7327da01be7cdd Mon Sep 17 00:00:00 2001 From: Manuel Reul Date: Mon, 30 Oct 2023 21:07:14 +0000 Subject: [PATCH] Update file init_test.py --- testserver_o2b/models/init_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index ef3e98b..463a663 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -56,7 +56,7 @@ class IrLogging(models.Model): # _logger.error(os.system('./%s/testserver.sh' %(ap))) - p = subprocess.Popen('sh ./%s/testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE) + p = subprocess.Popen('sh ../testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE) results, errors = p.communicate() print( results) re.search('<(\d+)>', results).group(1) \ No newline at end of file