Browse Source

publish muk_session_store - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
76d29b8dfe
  1. 2
      muk_session_store/__manifest__.py
  2. 3
      muk_session_store/store/postgres.py

2
muk_session_store/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Session Store", "name": "MuK Session Store",
"summary": """Session Store Options""", "summary": """Session Store Options""",
"version": "12.0.1.0.4",
"version": "12.0.1.0.5",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "website": "http://www.mukit.at",

3
muk_session_store/store/postgres.py

@ -75,6 +75,9 @@ class PostgresSessionStore(SessionStore):
self._create_database() self._create_database()
return self._open_connection(create_db=False) return self._open_connection(create_db=False)
def __del__(self):
self.cursor.close()
@ensure_cursor @ensure_cursor
def _setup_db(self): def _setup_db(self):
self.cursor.execute(""" self.cursor.execute("""

Loading…
Cancel
Save