psu: commit transaction when closing connection

This commit is contained in:
Helmut Merz 2025-03-09 09:35:38 +01:00
parent 0de7ef2550
commit aa0443d0b5

View file

@ -51,6 +51,7 @@ def closeConnection():
global conn global conn
if conn is not None: if conn is not None:
print('closing ZODB connection...') print('closing ZODB connection...')
commit()
conn.close() conn.close()
conn = None conn = None