Fix but in additional component description generation

This commit is contained in:
Daniel Rojas 2024-04-16 14:05:25 +02:00
parent bca3b6898c
commit fdb75693dd

View File

@ -131,8 +131,10 @@ class AdditionalComponent:
@property
def description(self) -> str:
s = self.type.rstrip() + f", {self.subtype.rstrip()}" if self.subtype else ""
return s
t = self.type.rstrip()
st = f", {self.subtype.rstrip()}" if self.subtype else ""
t = t + st
return t
@dataclass