witten
/
luminotes
Archived
1
0
Fork 0

Actually need to return the loaded data..

This commit is contained in:
Dan Helfman 2008-10-29 15:33:15 -07:00
parent ba7a9437d8
commit 3a5ca1d462
1 changed files with 1 additions and 1 deletions

View File

@ -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