diff --git a/melamine/shred.py b/melamine/shred.py index fd55310..34834d7 100644 --- a/melamine/shred.py +++ b/melamine/shred.py @@ -34,7 +34,7 @@ async def main(job: argparse.Namespace) -> bool: tasks.append(path.shred(hash=job.exhaustive, dryrun=job.dryrun)) elif isinstance(path, ShredDir): tasks.append(path.shred(hash=job.exhaustive, dryrun=job.dryrun)) - done, _ = await asyncio.wait(*tasks) + done, _ = await asyncio.wait(tasks) for task in done: e = task.exception() if e: @@ -68,7 +68,7 @@ async def main(job: argparse.Namespace) -> bool: tasks = [] async for item in mount_point.rglob("*"): tasks.append(check_inode_and_unlink(item)) - done, _ = await asyncio.wait(*tasks) + done, _ = await asyncio.wait(tasks) for task in done: e = task.exception() if e: