Use global conductor instance

The switch from crawler-local conductors to a single pferd-global conductor was
made to prepare for auth section credential providers.
This commit is contained in:
Joscha
2021-05-10 23:50:16 +02:00
parent 595ba8b7ab
commit d5f29f01c5
6 changed files with 34 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ class ProgressBar:
def advance(self, amount: float = 1) -> None:
self._progress.advance(self._taskid, advance=amount)
def set_total(self, total) -> None:
def set_total(self, total: float) -> None:
self._progress.update(self._taskid, total=total)