[fix] remove domain beudi

This commit is contained in:
Adrien Beudin 2015-04-13 09:22:45 +00:00
parent dc0d722284
commit 7f711ca774

View file

@ -178,7 +178,6 @@ def monitor_network(units=None, human_readable=False):
result[u] = {} result[u] = {}
with open('/etc/yunohost/current_host', 'r') as f: with open('/etc/yunohost/current_host', 'r') as f:
domain = f.readline().rstrip() domain = f.readline().rstrip()
domain = 'beudi.nohost.com'
cmd_check_smtp = os.system('/bin/nc -z -w1 yunohost.org 25') cmd_check_smtp = os.system('/bin/nc -z -w1 yunohost.org 25')
if cmd_check_smtp == 0: if cmd_check_smtp == 0:
smtp_check = m18n.n('network_check_smtp_ok') smtp_check = m18n.n('network_check_smtp_ok')