Skip to content

Commit ccf9407

Browse files
authored
Update trackerslist.py
1 parent 32ea601 commit ccf9407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trackerslist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def merge_files(contents):
3232
# 合并文件并去除空行
3333
merged_content = merge_files(file_contents)
3434

35-
# 添加当前时间到合并结果的第一行
35+
# 添加当前时间到合并结果的第一行,同时在第一行下方添加一个空行
3636
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
37-
merged_content_with_time = f"当前合并完成的时间: {current_time}\n{merged_content}"
37+
merged_content_with_time = f"当前合并完成的时间: {current_time}\n\n{merged_content}"
3838

3939
# 保存合并结果到文件
4040
output_file = "trackerslist.txt"

0 commit comments

Comments
 (0)