]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
fireinfo: Fix geo location table.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Jan 2011 13:16:11 +0000 (14:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Jan 2011 13:16:11 +0000 (14:16 +0100)
www/webapp/backend/stasy.py

index 7c01753ed6ebed39fa19536e788c67e452cedc70..a9ce4dd2f3ee26cc68255450ec1364fe3430db82 100644 (file)
@@ -594,7 +594,7 @@ class Stasy(object):
                for geo_location in self.geo_locations:
                        geo_locations[geo_location] = \
                                self.query({
-                                       "geoip.country_code" : geo_location
+                                       "geoip.country_code" : geo_location.upper()
                                }).count()
 
                        count += geo_locations[geo_location]