🎨 Chore (#289)

This commit is contained in:
Nikhil Badyal
2023-08-17 09:32:53 +05:30
committed by GitHub
parent 0d2985d9f7
commit 5bffa4c79c
6 changed files with 93 additions and 50 deletions
+2 -1
View File
@@ -113,7 +113,8 @@ class Patches(object):
app_names = {value[0]: value[1] for value in self.revanced_app_ids.values()}
if not (app_name := app_names.get(app)):
raise AppNotFound(app)
raise AppNotFound(f"App '{app}' not found in the supported apps.")
patches = getattr(self, app_name)
version = "latest"
with contextlib.suppress(StopIteration):