diff options
author | 2011-08-02 05:10:00 +0530 | |
---|---|---|
committer | 2011-08-02 05:10:00 +0530 | |
commit | 6c76e75fd3b23be336bdf21c0f071d6574132a4c (patch) | |
tree | 2eaa7520466380907c7998e7a75b843bb3bd346e | |
parent | export use data to json (diff) | |
download | gentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.tar.gz gentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.tar.bz2 gentoostats-6c76e75fd3b23be336bdf21c0f071d6574132a4c.zip |
fix profile json export
-rw-r--r-- | server/profile.py | 2 |
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) |