From 1a1f716f414d981f970d36546ca004abab94c1c2 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:29:28 +0100 Subject: [PATCH] fix function skip option --- keydive/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keydive/core.py b/keydive/core.py index 6b400ea..c48d4e1 100644 --- a/keydive/core.py +++ b/keydive/core.py @@ -103,7 +103,7 @@ class Core: # Add function if it matches specific criteria if name not in selected and ( name == target - or any(None if self.skip else keyword in name for keyword in CDM_FUNCTION_API) + or any(True if self.skip else keyword in name for keyword in CDM_FUNCTION_API) or (not target and re.match(r'^[a-z]+$', name) and args >= 6) ): selected[name] = {