From 0592a4c3569f1c4c2ee6471a79bc81917ee73482 Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 13 Jul 2012 19:52:48 +0200 Subject: [PATCH] fix ip status --- telecaster/tools/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecaster/tools/status.py b/telecaster/tools/status.py index 64fa5bb..ce229ef 100644 --- a/telecaster/tools/status.py +++ b/telecaster/tools/status.py @@ -90,7 +90,7 @@ class Status(object): ip = get_ip_address(interface) if ip: self.ip = ip - break + break except: self.ip = '127.0.0.1' self.url = 'http://' + self.ip -- 2.39.5