Minor patch

This commit is contained in:
Miroslav Stampar 2015-07-10 09:51:11 +02:00
parent 4baaa4a5ad
commit 0ba264bfa0

View File

@ -1015,7 +1015,7 @@ def checkStability():
like for instance string matching (--string). like for instance string matching (--string).
""" """
infoMsg = "testing if the target URL is stable. This can take up to a second" infoMsg = "testing if the target URL is stable. Delay can take up to a second"
logger.info(infoMsg) logger.info(infoMsg)
firstPage = kb.originalPage # set inside checkConnection() firstPage = kb.originalPage # set inside checkConnection()
@ -1308,9 +1308,9 @@ def checkConnection(suppressOutput=False):
logger.info(infoMsg) logger.info(infoMsg)
try: try:
kb.originalPageTime = time.time()
page, _ = Request.queryPage(content=True, noteResponseTime=False) page, _ = Request.queryPage(content=True, noteResponseTime=False)
kb.originalPage = kb.pageTemplate = page kb.originalPage = kb.pageTemplate = page
kb.originalPageTime = time.time()
kb.errorIsNone = False kb.errorIsNone = False