Fix dict type

This commit is contained in:
Dimitris Zlatanidis 2024-01-20 11:50:25 +02:00
parent d5d227ce4d
commit f4564f097b

View file

@ -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,