mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor style update (PEP8)
This commit is contained in:
parent
ca3d35a878
commit
934d41dac2
22 changed files with 87 additions and 82 deletions
|
|
@ -111,7 +111,7 @@ def checkCharEncoding(encoding, warn=True):
|
|||
return encoding
|
||||
|
||||
# Reference: http://www.destructor.de/charsets/index.htm
|
||||
translate = { "windows-874": "iso-8859-11", "en_us": "utf8", "macintosh": "iso-8859-1", "euc_tw": "big5_tw", "th": "tis-620", "unicode": "utf8", "utc8": "utf8", "ebcdic": "ebcdic-cp-be"}
|
||||
translate = {"windows-874": "iso-8859-11", "en_us": "utf8", "macintosh": "iso-8859-1", "euc_tw": "big5_tw", "th": "tis-620", "unicode": "utf8", "utc8": "utf8", "ebcdic": "ebcdic-cp-be"}
|
||||
|
||||
for delimiter in (';', ',', '('):
|
||||
if delimiter in encoding:
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ class Connect(object):
|
|||
ua = kwargs.get('ua', None)
|
||||
referer = kwargs.get('referer', None)
|
||||
host = kwargs.get('host', conf.host)
|
||||
direct_ = kwargs.get('direct', False)
|
||||
direct_ = kwargs.get('direct', False)
|
||||
multipart = kwargs.get('multipart', False)
|
||||
silent = kwargs.get('silent', False)
|
||||
raise404 = kwargs.get('raise404', True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue