mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Patch for an Issue #767
This commit is contained in:
parent
6c4c82758d
commit
20d75cc52e
|
@ -161,7 +161,7 @@ def stdoutencode(data):
|
||||||
else:
|
else:
|
||||||
retVal = data.encode(sys.stdout.encoding)
|
retVal = data.encode(sys.stdout.encoding)
|
||||||
except:
|
except:
|
||||||
retVal = data.encode(UNICODE_ENCODING)
|
retVal = data.encode(UNICODE_ENCODING) if isinstance(data, unicode) else data
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user