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]
|
oldest_file = min(files_info, key=lambda x: x[0])[1]
|
||||||
# 删除最旧的文件
|
# 删除最旧的文件
|
||||||
os.remove(os.path.join(folder_path, oldest_file))
|
os.remove(os.path.join(folder_path, oldest_file))
|
||||||
print("删除" + oldest_file)
|
|
||||||
else:
|
else:
|
||||||
# print("文件夹小于20G")
|
# print("文件夹小于20G")
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue