fix function skip option

This commit is contained in:
hyugogirubato
2024-10-28 21:29:28 +01:00
parent 9f51b3911b
commit 1a1f716f41
+1 -1
View File
@@ -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] = {