mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fix dict type
This commit is contained in:
parent
d5d227ce4d
commit
f4564f097b
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class ProgressBar(Configs):
|
|||
f"{message}... {self.color}", end='')
|
||||
|
||||
def assign_spinners(self) -> None:
|
||||
self.spinners: dict[str] = {
|
||||
self.spinners: dict = {
|
||||
'pixel': PixelSpinner,
|
||||
'line': LineSpinner,
|
||||
'moon': MoonSpinner,
|
||||
|
@ -52,7 +52,7 @@ class ProgressBar(Configs):
|
|||
}
|
||||
|
||||
def assign_spinner_colors(self) -> None:
|
||||
self.spinners_color: dict[str] = {
|
||||
self.spinners_color: dict = {
|
||||
'green': self.green,
|
||||
'violet': self.violet,
|
||||
'yellow': self.yellow,
|
||||
|
|
Loading…
Reference in a new issue