Set arguments of page_to_hit facultative
This commit is contained in:
parent
9d3f7c05a4
commit
1d9bf71b4b
|
@ -58,12 +58,10 @@ class IWLAPreAnalysisPageToHit(IPlugin):
|
|||
def load(self):
|
||||
# Page to hit
|
||||
self.ph_regexps = self.iwla.getConfValue('page_to_hit_conf', [])
|
||||
if not self.ph_regexps: return False
|
||||
self.ph_regexps = map(lambda(r): re.compile(r), self.ph_regexps)
|
||||
|
||||
# Hit to page
|
||||
self.hp_regexps = self.iwla.getConfValue('hit_to_page_conf', [])
|
||||
if not self.hp_regexps: return False
|
||||
self.hp_regexps = map(lambda(r): re.compile(r), self.hp_regexps)
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue
Block a user