From e85fffabbb61ca964f35561e00c382a180166f64 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 4 May 2011 01:07:58 -0400 Subject: Registration should be fully functional now. this fixes #7 --- server/user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/user.py') diff --git a/server/user.py b/server/user.py index c6e6e87..a818005 100644 --- a/server/user.py +++ b/server/user.py @@ -17,7 +17,8 @@ class User: ObjectWriter(self.hash).create_root_object(self.jid, registration) def get_registration(self): - ObjectReader(self.hash).get_content(self.jid) + registration, key = ObjectReader(self.hash).get_content(self.jid) + return registration def registered(self): return Object(self.hash).exists() -- cgit v1.2.3-70-g09d2