mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Patch for Python 2.6 (SyntaxError)
This commit is contained in:
parent
058870635b
commit
c59ead36ce
1 changed files with 3 additions and 1 deletions
|
|
@ -721,7 +721,9 @@ def client(host=RESTAPI_SERVER_HOST, port=RESTAPI_SERVER_PORT):
|
||||||
taskid = None
|
taskid = None
|
||||||
continue
|
continue
|
||||||
|
|
||||||
cmdLineOptions = { k: v for k, v in cmdLineOptions.iteritems() if v is not None }
|
for key in list(cmdLineOptions):
|
||||||
|
if cmdLineOptions[key] is None:
|
||||||
|
del cmdLineOptions[key]
|
||||||
|
|
||||||
raw = _client(addr + "/task/new")
|
raw = _client(addr + "/task/new")
|
||||||
res = dejsonize(raw)
|
res = dejsonize(raw)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue