mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-19 02:07:12 +08:00
fixes bug in nohardlink
This commit is contained in:
parent
29f21887d4
commit
358e871c6c
1 changed files with 12 additions and 11 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Reference in a new issue