mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fix crawler cleanup not being awaited
This commit is contained in:
parent
0459ed093e
commit
c3ce6bb31c
@ -29,7 +29,7 @@ class LocalCrawler(Crawler):
|
||||
async def crawl(self) -> None:
|
||||
await self._crawl_path(self._path, PurePath())
|
||||
if self.error_free:
|
||||
self.cleanup()
|
||||
await self.cleanup()
|
||||
|
||||
@anoncritical
|
||||
async def _crawl_path(self, path: Path, pure: PurePath) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user