mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor removal of redundant code
This commit is contained in:
parent
e931344617
commit
bf18b025d6
2 changed files with 6 additions and 6 deletions
|
|
@ -191,7 +191,7 @@ class Connect(object):
|
|||
the target URL page content
|
||||
"""
|
||||
|
||||
if conf.delay is not None and isinstance(conf.delay, (int, float)) and conf.delay > 0:
|
||||
if isinstance(conf.delay, (int, float)) and conf.delay > 0:
|
||||
time.sleep(conf.delay)
|
||||
elif conf.cpuThrottle:
|
||||
cpuThrottle(conf.cpuThrottle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue