Commit e3c42fa0 by sikang

update

parent 12cae7ad
...@@ -33,7 +33,7 @@ def process_file_content(path, file_name): ...@@ -33,7 +33,7 @@ def process_file_content(path, file_name):
with open(path, "w", encoding="utf-8") as f_w: with open(path, "w", encoding="utf-8") as f_w:
for line in lines: for line in lines:
if ";\n" in line: if ";\n" in line and "return" not in line and "break" not in line and "continue" not in line:
line = line.replace(";\n", get_rand_code(0)) line = line.replace(";\n", get_rand_code(0))
f_w.write(line) f_w.write(line)
print("done\n") print("done\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment