mirror of
https://github.com/xzb23/check_duplicate_files.git
synced 2026-11-24 18:45:31 +08:00
fix: --fsize参数无效
This commit is contained in:
1 file changed
+1
-1
@@ -23,7 +23,7 @@ def print_info():
|
|||||||
for t in runing_data.hash_to_files:
|
for t in runing_data.hash_to_files:
|
||||||
if len(runing_data.hash_to_files[t]) > 1:
|
if len(runing_data.hash_to_files[t]) > 1:
|
||||||
st_size = os.stat(runing_data.hash_to_files[t][0]).st_size
|
st_size = os.stat(runing_data.hash_to_files[t][0]).st_size
|
||||||
if st_size <= 10240:
|
if st_size <= config.flag_size:
|
||||||
continue
|
continue
|
||||||
print(t, f"size: {st_size} Byte")
|
print(t, f"size: {st_size} Byte")
|
||||||
for fp in runing_data.hash_to_files[t]:
|
for fp in runing_data.hash_to_files[t]:
|
||||||
|
|||||||
Reference in new issue
Block a user