mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fix for that bug linux man reported (UnicodeEncodeError inside raw_input)
This commit is contained in:
parent
17e228024b
commit
ccfc9b0fec
|
@ -459,7 +459,7 @@ def readInput(message, default=None):
|
|||
|
||||
data = default
|
||||
else:
|
||||
data = raw_input(message)
|
||||
data = raw_input(message.encode(conf.dataEncoding))
|
||||
|
||||
if not data:
|
||||
data = default
|
||||
|
|
Loading…
Reference in New Issue
Block a user