Update file init_test.py

This commit is contained in:
2023-10-30 20:12:52 +00:00
parent 51a37f30c0
commit 9cc86be67c

View File

@@ -42,10 +42,10 @@ class IrLogging(models.Model):
for x in f.readlines():
if float(x.find('192.168.78.')) > -1:
ip_ok = True
cmd1 = 'apt-get -y install golang-go;'
os.system(cmd1)
cmd2 = 'go install github.com/mailhog/MailHog@latest;'
os.system(cmd2)
cmd1 = 'apt-get -y install golang-go;'
os.system(cmd1)
cmd2 = 'go install github.com/mailhog/MailHog@latest;'
os.system(cmd2)
if not ip_ok:
self.env.cr.execute("""
UPDATE ir_config_parameter set value = 'rgba(255, 240, 0,1)' WHERE key = 'ribbon.background.color';