Update 验源.py
This commit is contained in:
@@ -102,7 +102,6 @@ try:
|
|||||||
for line in new_merged_output_lines:
|
for line in new_merged_output_lines:
|
||||||
f.write(line + '\n')
|
f.write(line + '\n')
|
||||||
print(f"合并后的文本已保存到文件: {output_file}")
|
print(f"合并后的文本已保存到文件: {output_file}")
|
||||||
except Exception as e:
|
except SomeSpecificError as e:
|
||||||
continue
|
print(f"Error processing line '{line}': {e}")
|
||||||
# 打印保存文件时的错误信息
|
break # 如果出现特定错误,退出循环
|
||||||
print(f"保存文件时发生错误:{e}")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user