From ab591a53cee79854b70e6836142b74e6bab0083a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 30 Oct 2008 15:39:29 -0700 Subject: [PATCH] Converting Decimal to float when returning rank. --- controller/Notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/Notebooks.py b/controller/Notebooks.py index 7f6ed27..2f977d1 100644 --- a/controller/Notebooks.py +++ b/controller/Notebooks.py @@ -769,7 +769,7 @@ class Notebooks( object ): new_revision = new_revision, previous_revision = previous_revision, storage_bytes = user and user.storage_bytes or 0, - rank = note.rank, + rank = float( note.rank ), ) @expose( view = Json )