mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-10 02:23:58 +00:00
Fixing some pyflakes naggings
This commit is contained in:
parent
69ba213db9
commit
333e3e48e5
4 changed files with 14 additions and 7 deletions
|
|
@ -70,7 +70,8 @@ def dirtyPatches():
|
|||
|
||||
# add support for inet_pton() on Windows OS
|
||||
if IS_WIN:
|
||||
from thirdparty.wininetpton import win_inet_pton
|
||||
from thirdparty.wininetpton.win_inet_pton import inject_into_socket
|
||||
inject_into_socket()
|
||||
|
||||
# Reference: https://github.com/nodejs/node/issues/12786#issuecomment-298652440
|
||||
codecs.register(lambda name: codecs.lookup("utf-8") if name == "cp65001" else None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue