db locking issues fix #2

This commit is contained in:
echel0n 2014-06-05 12:59:17 -07:00
parent 26f30cacf5
commit 385bf3987e

View file

@ -124,8 +124,8 @@ class DBConnection:
attempt = 0
# Transaction
self.connection.isolation_level = 'EXCLUSIVE'
self.connection.execute('BEGIN EXCLUSIVE')
self.connection.isolation_level = None
self.connection.execute('BEGIN')
while attempt < 5:
try: