mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor fix
This commit is contained in:
parent
6888d2fc34
commit
bbc6dd9ac8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user