From f46e4a8da378d9287824c7ce84ef296effaa3c94 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 2 Jan 2010 21:41:26 +0000 Subject: Fix a mismatch between gppscap.py and the report CGI. --- gpscap.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gpscap.py') diff --git a/gpscap.py b/gpscap.py index a57716d2..ff5ca2e5 100644 --- a/gpscap.py +++ b/gpscap.py @@ -114,15 +114,15 @@ class GPSDictionary(ConfigParser.RawConfigParser): testfield += tested if self.has_option(dev, "noconfigure"): testfield += "" - if self.get(dev, "status") == "excellent": + if self.get(dev, "rating") == "excellent": testfield += "" - elif self.get(dev, "status") == "good": + elif self.get(dev, "rating") == "good": testfield += "" - elif self.get(dev, "status") == "fair": + elif self.get(dev, "rating") == "fair": testfield += "" - elif self.get(dev, "status") == "poor": + elif self.get(dev, "rating") == "poor": testfield += "" - elif self.get(dev, "status") == "broken": + elif self.get(dev, "rating") == "broken": testfield += "" if self.has_option(dev, "usbchip") and self.get(dev, "usbchip") in hotpluggables: testfield += "" -- cgit v1.2.1