Fix but in additional component description generation
This commit is contained in:
parent
bca3b6898c
commit
fdb75693dd
@ -131,8 +131,10 @@ class AdditionalComponent:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def description(self) -> str:
|
def description(self) -> str:
|
||||||
s = self.type.rstrip() + f", {self.subtype.rstrip()}" if self.subtype else ""
|
t = self.type.rstrip()
|
||||||
return s
|
st = f", {self.subtype.rstrip()}" if self.subtype else ""
|
||||||
|
t = t + st
|
||||||
|
return t
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user