diff --git a/Utils/ruleset.py b/Utils/ruleset.py index 31bdd2b..0b9e9fe 100644 --- a/Utils/ruleset.py +++ b/Utils/ruleset.py @@ -219,14 +219,12 @@ def batch_dump(src: RuleSet, targets: list, dst_path: Path, filename: str) -> No if "geosite" in targets: logging.warning(f"{filename}: {src.Type}-type ruleset can't be exported to GeoSite source, ignored.") targets.remove("geosite") - if src.Type == "Combined" and any(t in targets for t in ["text", "text-plus", "yaml", "geosite"]): + if src.Type == "Combined" and any(t in targets for t in ["text", "text-plus", "geosite"]): logging.info(f"{filename}: Ignored unsupported type for combined ruleset.") if "text" in targets: targets.remove("text") if "text-plus" in targets: targets.remove("text-plus") - if "yaml" in targets: - targets.remove("yaml") if "geosite" in targets: targets.remove("geosite") for target in targets: