Minor refactoring

This commit is contained in:
Miroslav Stampar
2016-06-20 10:01:57 +02:00
parent dd6287ace8
commit 99454198b8
2 changed files with 4 additions and 3 deletions

View File

@@ -1015,8 +1015,9 @@ def readInput(message, default=None, checkBatch=True):
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
except:
pass
kb.prependFlag = True
raise SqlmapUserQuitException
finally:
kb.prependFlag = True
raise SqlmapUserQuitException
finally:
logging._releaseLock()