mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patches
This commit is contained in:
parent
db5ae9ae0b
commit
130879fbf3
3 changed files with 6 additions and 6 deletions
|
|
@ -234,8 +234,8 @@ def main():
|
|||
dataToStdout(excMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif "ImportError" in excMsg:
|
||||
errMsg = "invalid runtime environment ('%s')" % excMsg.split("ImportError: ")[-1].strip()
|
||||
elif any(_ in excMsg for _ in ("ImportError", "Can't find file for module")):
|
||||
errMsg = "invalid runtime environment ('%s')" % excMsg.split("Error: ")[-1].strip()
|
||||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue