mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-12 03:23:27 +00:00
Patch for an Issue #767
This commit is contained in:
parent
6c4c82758d
commit
20d75cc52e
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ def stdoutencode(data):
|
|||
else:
|
||||
retVal = data.encode(sys.stdout.encoding)
|
||||
except:
|
||||
retVal = data.encode(UNICODE_ENCODING)
|
||||
retVal = data.encode(UNICODE_ENCODING) if isinstance(data, unicode) else data
|
||||
|
||||
return retVal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue