Update p2p.py

This commit is contained in:
frxz751113
2024-10-01 11:53:01 +08:00
committed by GitHub
parent 9e6763ae7a
commit 243b488340
+1 -1
View File
@@ -134,7 +134,7 @@ def process_urls_multithreaded(lines, max_workers=30):
################################################# 写入文件
def write_list(file_path, data_list):
with open(file_path, 'w', encoding='utf-8') as:
with open(file_path, 'w', encoding='utf-8') as file:
for item in data_list:
file.write(item + '\n')