update
This commit is contained in:
parent
889ef3fb69
commit
1b2293c309
|
@ -17,7 +17,6 @@ while True:
|
|||
oldest_file = min(files_info, key=lambda x: x[0])[1]
|
||||
# 删除最旧的文件
|
||||
os.remove(os.path.join(folder_path, oldest_file))
|
||||
print("删除" + oldest_file)
|
||||
else:
|
||||
# print("文件夹小于20G")
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue