From c8b10b854856e861f34e5022f4044d40f57f5008 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Mon, 22 Aug 2022 22:37:53 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20false=20excluded=20patch?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index b39d291..af49ce9 100644 --- a/main.py +++ b/main.py @@ -263,6 +263,10 @@ class ArgParser: def get_excluded_patches(cls) -> List[Any]: return cls._EXCLUDED + @classmethod + def reset_excluded_patches(cls) -> None: + cls._EXCLUDED = [] + @classmethod def run(cls, app: str, version: str, is_experimental: bool = False) -> None: logger.debug(f"Sending request to revanced cli for building {app} revanced") @@ -364,6 +368,7 @@ def main() -> None: logger.debug(f"Excluded patches {excluded} for {app}") else: logger.debug(f"No excluded patches for {app}") + arg_parser.reset_excluded_patches() def get_patches_version() -> Any: experiment = False