Update file init_test.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user