diff --git a/clearpath_config/platform/types/attachment.py b/clearpath_config/platform/types/attachment.py index 268b592..47a88ee 100644 --- a/clearpath_config/platform/types/attachment.py +++ b/clearpath_config/platform/types/attachment.py @@ -93,5 +93,5 @@ def is_valid(cls, _type: str) -> bool: return _type in cls.TYPES def __new__(cls, _type: str) -> BaseAttachment: - assert cls.is_valid(type), f'{cls.PLATFORM} does not have attachment "{_type}". Must be one of "{cls.TYPES}"' # noqa:E501 + assert cls.is_valid(_type), f'{cls.PLATFORM} does not have attachment "{_type}". Must be one of "{cls.TYPES}"' # noqa:E501 return cls.TYPES[_type]