fix function skip option
This commit is contained in:
parent
9f51b3911b
commit
1a1f716f41
|
@ -103,7 +103,7 @@ class Core:
|
||||||
# Add function if it matches specific criteria
|
# Add function if it matches specific criteria
|
||||||
if name not in selected and (
|
if name not in selected and (
|
||||||
name == target
|
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)
|
or (not target and re.match(r'^[a-z]+$', name) and args >= 6)
|
||||||
):
|
):
|
||||||
selected[name] = {
|
selected[name] = {
|
||||||
|
|
Loading…
Reference in New Issue