Skip to content

Commit

Permalink
address lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
egocarib committed Jan 18, 2024
1 parent a3775db commit fc5b07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hagadias/qudobject_props.py
Original file line number Diff line number Diff line change
Expand Up @@ -2413,12 +2413,12 @@ def title(self) -> str | None:
val = f"{val}, {name_title}"
if self.part_DisplayNameColor is not None:
dn_color = self.part_DisplayNameColor_Color
dn_color = dn_color.strip('&')
dn_color = dn_color.strip("&")
if dn_color is not None:
val = "{{" + dn_color + "|" + val + "}}"
if self.part_MakersMark is not None:
m_color = self.part_MakersMark_Color
m_color = m_color.strip('&') if m_color is not None else "R"
m_color = m_color.strip("&") if m_color is not None else "R"
m_mark = self.part_MakersMark_Mark
val = f"&{m_color}{m_mark}&y {val}"
return val
Expand Down

0 comments on commit fc5b07c

Please sign in to comment.