diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index 9e98c1f..d583292 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -15,7 +15,7 @@ class IrLogging(models.Model): def init(self): - 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)