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