From 3a5ca1d462db4a79e07393c3d80c6a248d4e8982 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 29 Oct 2008 15:33:15 -0700 Subject: [PATCH] Actually need to return the loaded data.. --- controller/Session_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/Session_storage.py b/controller/Session_storage.py index 9b3505f..09dfe0c 100644 --- a/controller/Session_storage.py +++ b/controller/Session_storage.py @@ -15,7 +15,7 @@ class Session_storage( PostgreSQLStorage ): def load( self, *args, **kwargs ): try: - PostgreSQLStorage.load( self, *args, **kwargs ) + return PostgreSQLStorage.load( self, *args, **kwargs ) # catch "ProgrammingError: no results to fetch" from self.cursor.fetchall() except ProgrammingError: return None