mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 23:45:05 +02:00
Fix crawler cleanup not being awaited
This commit is contained in:
parent
0459ed093e
commit
c3ce6bb31c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue