update python_sqlalchemy, add close

master
xianhu 2016-10-25 12:48:25 +08:00
parent 3a7cb4cdf2
commit 3668a75088
1 changed files with 2 additions and 0 deletions

View File

@ -183,3 +183,5 @@ try:
except Exception as excep: except Exception as excep:
session.rollback() session.rollback()
raise raise
session.close()