mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for a bug reported by buawig@gmail.com (AttributeError: 'module' object has no attribute 'set_completer')
This commit is contained in:
@@ -14,9 +14,11 @@ from lib.core.settings import PLATFORM
|
||||
_readline = None
|
||||
|
||||
try:
|
||||
from readline import *
|
||||
import readline as _readline
|
||||
except ImportError:
|
||||
try:
|
||||
from pyreadline import *
|
||||
import pyreadline as _readline
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user