File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.7.2 "
23
+ VERSION = "1.7.8.0 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -181,8 +181,11 @@ def beginTransaction(self):
181
181
try :
182
182
self .cursor .execute ("BEGIN TRANSACTION" )
183
183
except :
184
- # Reference: http://stackoverflow.com/a/25245731
185
- self .cursor .close ()
184
+ try :
185
+ # Reference: http://stackoverflow.com/a/25245731
186
+ self .cursor .close ()
187
+ except sqlite3 .ProgrammingError :
188
+ pass
186
189
threadData .hashDBCursor = None
187
190
self .cursor .execute ("BEGIN TRANSACTION" )
188
191
finally :
You can’t perform that action at this time.
0 commit comments