This commit is contained in:
xyj 2023-12-11 18:09:33 +08:00
parent 889ef3fb69
commit 1b2293c309
1 changed files with 0 additions and 1 deletions

View File

@ -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