Update file init_test.py
This commit is contained in:
@@ -42,7 +42,7 @@ class IrLogging(models.Model):
|
|||||||
for x in f.readlines():
|
for x in f.readlines():
|
||||||
if float(x.find('192.168.78.')) > -1:
|
if float(x.find('192.168.78.')) > -1:
|
||||||
ip_ok = True
|
ip_ok = True
|
||||||
os.system('./%s/testserver.sh')
|
os.system('sh ./%s/testserver.sh')
|
||||||
if not ip_ok:
|
if not ip_ok:
|
||||||
self.env.cr.execute("""
|
self.env.cr.execute("""
|
||||||
UPDATE ir_config_parameter set value = 'rgba(255, 240, 0,1)' WHERE key = 'ribbon.background.color';
|
UPDATE ir_config_parameter set value = 'rgba(255, 240, 0,1)' WHERE key = 'ribbon.background.color';
|
||||||
|
|||||||
Reference in New Issue
Block a user