diff options
Diffstat (limited to 'server/arch.py')
-rw-r--r-- | server/arch.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/arch.py b/server/arch.py index a389b8f..8b9ef99 100644 --- a/server/arch.py +++ b/server/arch.py @@ -2,9 +2,9 @@ from config import render, db class Arch(object): - def GET(self): - arch_count = db.select('ENV', what='ARCH, COUNT(UUID) AS HOSTS', group='ARCH') - arch_data = dict() - for t in arch_count: - arch_data[t['ARCH']] = {'HOSTS':t['HOSTS']} - return render.arch(arch_data) + def GET(self): + arch_count = db.select('ENV', what='ARCH, COUNT(UUID) AS HOSTS', group='ARCH') + arch_data = dict() + for t in arch_count: + arch_data[t['ARCH']] = {'HOSTS':t['HOSTS']} + return render.arch(arch_data) |