mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Patch for Python 2.6 (SyntaxError)
This commit is contained in:
parent
058870635b
commit
c59ead36ce
|
@ -721,7 +721,9 @@ def client(host=RESTAPI_SERVER_HOST, port=RESTAPI_SERVER_PORT):
|
|||
taskid = None
|
||||
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")
|
||||
res = dejsonize(raw)
|
||||
|
|
Loading…
Reference in New Issue
Block a user