mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
Add logo, fix orphaned await
This commit is contained in:
parent
ef6a2cecc4
commit
bea2a584d1
2 changed files with 1 additions and 1 deletions
BIN
melamine.png
Normal file
BIN
melamine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue