Set arguments of page_to_hit facultative
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user