Moments before disaster.

This commit is contained in:
lwark
2024-10-09 12:44:06 -05:00
parent ae5fb1b48f
commit 066d1af0f2
5 changed files with 101 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ class ControlType(BaseClass):
Returns:
List[ControlType]: Control types that have targets
"""
return [item for item in cls.query() if item.targets]
return (item for item in cls.query() if item.targets)
@classmethod
def build_positive_regex(cls) -> Pattern: