Minor refactoring

This commit is contained in:
Your Name 2026-04-15 19:08:17 +02:00
parent 3ae174a94d
commit c20c718dc3
4 changed files with 6 additions and 6 deletions

View file

@ -437,7 +437,7 @@ def start():
continue
if conf.rParam and kb.originalPage:
kb.randomPool = dict([_ for _ in kb.randomPool.items() if isinstance(_[1], list)])
kb.randomPool = dict(_ for _ in kb.randomPool.items() if isinstance(_[1], list))
for match in re.finditer(r"(?si)<select[^>]+\bname\s*=\s*[\"']([^\"']+)(.+?)</select>", kb.originalPage):
name, _ = match.groups()