Add logo, fix orphaned await

This commit is contained in:
Darryl Nixon 2023-07-16 15:19:57 -07:00
parent ef6a2cecc4
commit bea2a584d1
2 changed files with 1 additions and 1 deletions

BIN
melamine.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -66,7 +66,7 @@ async def main(job: argparse.Namespace) -> bool:
async def check_inode_and_unlink(item, inodes): async def check_inode_and_unlink(item, inodes):
async with semaphore: async with semaphore:
stat = await item.stat() stat = await item.stat()
if await stat.st_ino in inodes: if stat.st_ino in inodes:
log_buf = f"Deleting hardlink: {item.path}" log_buf = f"Deleting hardlink: {item.path}"
if not job.dryrun: if not job.dryrun:
log_buf = "DRY RUN " + log_buf log_buf = "DRY RUN " + log_buf