aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVikraman Choudhury <vikraman.choudhury@gmail.com>2011-08-02 05:10:00 +0530
committerVikraman Choudhury <vikraman.choudhury@gmail.com>2011-08-02 05:10:00 +0530
commit6c76e75fd3b23be336bdf21c0f071d6574132a4c (patch)
tree2eaa7520466380907c7998e7a75b843bb3bd346e /server
parentexport use data to json (diff)
downloadgentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.tar.gz
gentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.tar.bz2
gentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.zip
fix profile json export
Diffstat (limited to 'server')
-rw-r--r--server/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/profile.py b/server/profile.py
index 798c90d..4e4f65f 100644
--- a/server/profile.py
+++ b/server/profile.py
@@ -9,6 +9,6 @@ class Profile(object):
for t in profile_count:
profile_data[t['PROFILE']] = {'HOSTS':t['HOSTS']}
if helpers.is_json_request():
- helpers.serialize(profile_data)
+ return helpers.serialize(profile_data)
else:
return render.profile(profile_data)