From 958ef22033ef2584b742623d3d6a84376d68e06d Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Tue, 15 Jul 2014 14:36:47 -0700 Subject: [PATCH] fix incorrect latitudes in cdn operator view --- planetstack/core/dashboard/views/view_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/core/dashboard/views/view_common.py b/planetstack/core/dashboard/views/view_common.py index dfc69ab..1c74f73 100644 --- a/planetstack/core/dashboard/views/view_common.py +++ b/planetstack/core/dashboard/views/view_common.py @@ -142,7 +142,7 @@ def getCDNOperatorData(randomizeData = False, wait=True): hotness = max(0.0, ((cpu*RED_LOAD) - BLUE_LOAD)/(RED_LOAD-BLUE_LOAD)) try: - lat=float(site.location.longitude) + lat=float(site.location.latitude) long=float(site.location.longitude) except: lat=0 -- 2.43.0