mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fixes #3801
This commit is contained in:
@@ -38,7 +38,7 @@ def getRevisionNumber():
|
||||
while True:
|
||||
if filePath and os.path.isfile(filePath):
|
||||
with openFile(filePath, "r") as f:
|
||||
content = f.read()
|
||||
content = getText(f.read())
|
||||
filePath = None
|
||||
if content.startswith("ref: "):
|
||||
filePath = os.path.join(_, ".git", content.replace("ref: ", "")).strip()
|
||||
|
||||
Reference in New Issue
Block a user