Actually need to return the loaded data..
This commit is contained in:
parent
ba7a9437d8
commit
3a5ca1d462
|
@ -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
|
||||
|
|
Reference in New Issue