small design update to loader

This commit is contained in:
Leon Bohmann 2021-11-30 22:15:55 +01:00
parent a93fc0ee36
commit 6877cca21b
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class Loader:
for c in cycle(self.steps): for c in cycle(self.steps):
if self.done: if self.done:
break break
print(f"\r\t{c} {self.desc} ", flush=True, end="") print(f"\r\t{c} {self.desc} ", flush=True, end="")
sleep(self.timeout) sleep(self.timeout)
def __enter__(self): def __enter__(self):