diff options
Diffstat (limited to 'server/kwd.py')
-rw-r--r-- | server/kwd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/kwd.py b/server/kwd.py index c5f3403..6cef893 100644 --- a/server/kwd.py +++ b/server/kwd.py @@ -6,5 +6,5 @@ class Keyword(object): keyword_count = db.query('SELECT KEYWORD, COUNT(DISTINCT IPKEY) AS PACKAGES, COUNT(DISTINCT UUID) AS HOSTS FROM GLOBAL_KEYWORDS NATURAL JOIN KEYWORDS NATURAL JOIN INSTALLED_PACKAGES GROUP BY KEYWORD') keyword_data = dict() for t in keyword_count: - keyword_data[t['KEYWORD']] = {'HOSTS':t['HOSTS'],'PACKAGES':t['PACKAGES']} + keyword_data[t['KEYWORD']] = {'HOSTS':t['HOSTS'], 'PACKAGES':t['PACKAGES']} return render.keyword(keyword_data) |