mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-17 03:50:42 +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
|
data = default
|
||||||
else:
|
else:
|
||||||
data = raw_input(message)
|
data = raw_input(message.encode(conf.dataEncoding))
|
||||||
|
|
||||||
if not data:
|
if not data:
|
||||||
data = default
|
data = default
|
||||||
|
|
Loading…
Reference in New Issue
Block a user