fixes bug in nohardlink

This commit is contained in:
bobokun 2022-12-20 19:09:05 -05:00
parent 29f21887d4
commit 358e871c6c
No known key found for this signature in database
GPG key ID: B73932169607D927

View file

@ -288,6 +288,7 @@ def nohardlink(file, notify):
)
notify(msg, "nohardlink")
logger.warning(msg)
else:
largest_file_size = os.stat(sorted_files[0]).st_size
logger.trace(f"Largest file: {sorted_files[0]}")
logger.trace(f"Largest file size: {largest_file_size}")