From 6f0ba63e758810483fbc778be866cf2e0ad1358d Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Sat, 5 Jun 2010 17:53:27 -0300 Subject: do not output lots and lots of messages --- src/monitor.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/monitor.py b/src/monitor.py index da525be..88e16ff 100644 --- a/src/monitor.py +++ b/src/monitor.py @@ -58,17 +58,18 @@ class Monitor: ret = _native.wifi_get_max_quality(iface) return ret except: - traceback.print_exc() + # TODO: this happens when the card does not supports the settings + # but maybe we could log it somewhere.. return _("Unknown") def wifi_get_ap(self, iface): """Gets access point address""" - return _native.wifi_get_ap(iface) try: ret = _native.wifi_get_ap(iface) return ret except: - traceback.print_exc() + # TODO: this happens when the card does not supports the settings + # but maybe we could log it somewhere.. return _("Unknown") def wifi_get_essid(self, iface): -- cgit v1.2.1