use sets for ' in { ... }' checks

This commit is contained in:
Mike Fährmann
2026-02-11 22:55:01 +01:00
parent fc589e9ea4
commit 12f5e24ab5
17 changed files with 44 additions and 44 deletions

View File

@@ -784,7 +784,7 @@ class Extractor():
with open(path + ".txt", 'wb') as fp:
util.dump_response(
response, fp,
headers=(self._write_pages in ("all", "ALL")),
headers=(self._write_pages in {"all", "ALL"}),
hide_auth=(self._write_pages != "ALL")
)
self.log.info("Writing '%s' response to '%s'",