mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor just in case patch
This commit is contained in:
@@ -49,7 +49,11 @@ def saveHistory(completion=None):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
readline.set_history_length(MAX_HISTORY_LENGTH)
|
readline.set_history_length(MAX_HISTORY_LENGTH)
|
||||||
|
try:
|
||||||
readline.write_history_file(historyPath)
|
readline.write_history_file(historyPath)
|
||||||
|
except IOError, msg:
|
||||||
|
warnMsg = "there was a problem writing the history file '%s' (%s)" % (historyPath, msg)
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
def loadHistory(completion=None):
|
def loadHistory(completion=None):
|
||||||
if not readlineAvailable():
|
if not readlineAvailable():
|
||||||
|
|||||||
Reference in New Issue
Block a user