This commit is contained in:
xyj 2023-12-11 11:05:46 +08:00
parent 607451d783
commit d032b21584
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ while True:
# 删除最旧的文件 # 删除最旧的文件
os.remove(os.path.join(folder_path, oldest_file)) os.remove(os.path.join(folder_path, oldest_file))
else: else:
print("文件夹小于20G")
break break
# 等待5秒钟 # 等待5秒钟
time.sleep(5) time.sleep(5)