mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for coding style
This commit is contained in:
parent
34e503314f
commit
8f629c6a00
1 changed files with 10 additions and 10 deletions
|
@ -54,17 +54,17 @@ class AsciiBox(Configs):
|
||||||
|
|
||||||
def assign_border_color(self):
|
def assign_border_color(self):
|
||||||
self.border_colors: dict[str] = {
|
self.border_colors: dict[str] = {
|
||||||
'bold_yellow': self.byellow,
|
'': self.endc,
|
||||||
'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,
|
|
||||||
'red': self.red,
|
'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:
|
try:
|
||||||
self.bd_color: str = self.border_colors[self.border_color]
|
self.bd_color: str = self.border_colors[self.border_color]
|
||||||
|
|
Loading…
Reference in a new issue