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

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2020-2025 Mike Fährmann
# Copyright 2020-2026 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -156,11 +156,11 @@ class AryionExtractor(Extractor):
headers = response.headers
# folder
if headers["content-type"] in (
if headers["content-type"] in {
"application/x-folder",
"application/x-comic-folder",
"application/x-comic-folder-nomerge",
):
}:
return False
# get filename from 'Content-Disposition' header