Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-16 22:42:10 +03:00
parent 34e503314f
commit 8f629c6a00

View file

@ -54,17 +54,17 @@ class AsciiBox(Configs):
def assign_border_color(self):
self.border_colors: dict[str] = {
'bold_yellow': self.byellow,
'bold_green': self.bgreen,
'bold_cyan': self.bcyan,
'bold_blue': self.bblue,
'bold_red': self.bred,
'yellow': self.yellow,
'green': self.green,
'cyan': self.cyan,
'blue': self.blue,
'': self.endc,
'red': self.red,
'': self.endc
'blue': self.blue,
'cyan': self.cyan,
'green': self.green,
'yellow': self.yellow,
'bold_red': self.bred,
'bold_blue': self.bblue,
'bold_cyan': self.bcyan,
'bold_green': self.bgreen,
'bold_yellow': self.byellow
}
try:
self.bd_color: str = self.border_colors[self.border_color]