Minor removal of redundant code

This commit is contained in:
Miroslav Stampar
2014-04-06 18:09:54 +02:00
parent e931344617
commit bf18b025d6
2 changed files with 6 additions and 6 deletions

View File

@@ -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)