mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-10-22 01:32:32 +02:00
Fix some typing errors
It seems like the type hints have gotten better :)
This commit is contained in:
@@ -160,9 +160,10 @@ class Pferd:
|
||||
|
||||
def print_report(self) -> None:
|
||||
for name in self._crawlers_to_run:
|
||||
crawler = self._crawlers.get(name)
|
||||
if crawler is None:
|
||||
crawlerOpt = self._crawlers.get(name)
|
||||
if crawlerOpt is None:
|
||||
continue # Crawler failed to load
|
||||
crawler = crawlerOpt
|
||||
|
||||
log.report("")
|
||||
log.report(f"[bold bright_cyan]Report[/] for {escape(name)}")
|
||||
|
Reference in New Issue
Block a user