mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
fix ignoredir
This commit is contained in:
parent
3282d5a655
commit
b1e9053bb4
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ async def main(job: argparse.Namespace) -> bool:
|
|||
# checking for . and .. should not be neccessary w/ rglob
|
||||
tasks = []
|
||||
async for item in mount_point.rglob("*"):
|
||||
if any(str(item).startswith(path) for path in job.ignoredir):
|
||||
if any(str(item).startswith(str(path)) for path in job.ignoredir):
|
||||
continue
|
||||
tasks.append(check_inode_and_unlink(item, inodes))
|
||||
done, _ = await asyncio.wait(tasks)
|
||||
|
|
Loading…
Reference in a new issue