File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -508,18 +508,18 @@ def start():
508508 if not conf .textOnly and kb .originalPage :
509509 percent = (100.0 * len (getFilteredPageContent (kb .originalPage )) / len (kb .originalPage ))
510510
511- if kb .dynamicParameters :
511+ if kb .dynamicMarkings :
512512 errMsg += " You can give it a go with the switch '--text-only' "
513513 errMsg += "if the target page has a low percentage "
514514 errMsg += "of textual content (~%.2f%% of " % percent
515- errMsg += "page content is text). "
515+ errMsg += "page content is text)"
516516 elif percent < LOW_TEXT_PERCENT and not kb .errorIsNone :
517517 errMsg += " Please retry with the switch '--text-only' "
518518 errMsg += "(along with --technique=BU) as this case "
519519 errMsg += "looks like a perfect candidate "
520520 errMsg += "(low textual content along with inability "
521521 errMsg += "of comparison engine to detect at least "
522- errMsg += "one dynamic parameter). "
522+ errMsg += "one dynamic parameter)"
523523
524524 if kb .heuristicTest :
525525 errMsg += " As heuristic test turned out positive you are "
Original file line number Diff line number Diff line change @@ -1484,7 +1484,6 @@ def __setKnowledgeBaseAttributes(flushAll=True):
14841484 kb .docRoot = None
14851485 kb .dumpTable = None
14861486 kb .dynamicMarkings = []
1487- kb .dynamicParameters = False
14881487 kb .endDetection = False
14891488 kb .explicitSettings = set ()
14901489 kb .errorIsNone = True
You can’t perform that action at this time.
0 commit comments