Minor fix

This commit is contained in:
Miroslav Stampar 2014-09-17 10:28:18 +02:00
parent 6888d2fc34
commit bbc6dd9ac8

View File

@ -43,7 +43,7 @@ def saveHistory(completion=None):
historyPath = paths.SQLMAP_SHELL_HISTORY historyPath = paths.SQLMAP_SHELL_HISTORY
try: try:
with open(historyPath, "rw+") as f: with open(historyPath, "w+") as f:
f.truncate() f.truncate()
except: except:
pass pass