mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
fix for a bug reported by buawig@gmail.com (AttributeError: 'module' object has no attribute 'set_completer')
This commit is contained in:
parent
2041361695
commit
a835f233ac
|
@ -405,6 +405,9 @@ abc abc <biedimc@gmx.net>
|
||||||
Brandon E. <brandonpoc@gmail.com>
|
Brandon E. <brandonpoc@gmail.com>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
|
|
||||||
|
buawig <buawig@gmail.com>
|
||||||
|
for reporting a minor bug
|
||||||
|
|
||||||
Bugtrace <bugtrace@gmail.com>
|
Bugtrace <bugtrace@gmail.com>
|
||||||
for reporting several bugs
|
for reporting several bugs
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,11 @@ from lib.core.settings import PLATFORM
|
||||||
_readline = None
|
_readline = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
from readline import *
|
||||||
import readline as _readline
|
import readline as _readline
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
|
from pyreadline import *
|
||||||
import pyreadline as _readline
|
import pyreadline as _readline
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user