Re-use session. fix #252
This commit is contained in:
1 parent
4bdd23e36a
commit
921a851b7e
17 files changed
+48
-48
No files matched your search
@@ -204,7 +204,7 @@ class Settings(object):
|
||||
except:
|
||||
pass
|
||||
|
||||
db.close()
|
||||
#db.close()
|
||||
return prop
|
||||
|
||||
def setProperty(self, identifier, value = ''):
|
||||
@@ -221,4 +221,4 @@ class Settings(object):
|
||||
p.value = toUnicode(value)
|
||||
|
||||
db.commit()
|
||||
db.close()
|
||||
#db.close()
|
||||
Reference in new issue
Block a user