mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor fix
This commit is contained in:
@@ -43,7 +43,7 @@ def saveHistory(completion=None):
|
||||
historyPath = paths.SQLMAP_SHELL_HISTORY
|
||||
|
||||
try:
|
||||
with open(historyPath, "rw+") as f:
|
||||
with open(historyPath, "w+") as f:
|
||||
f.truncate()
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user