Commit 5d3c586f by sikang

up

parent 37c91434
......@@ -51,7 +51,7 @@ def process_file_content(path, file_name):
for line in lines:
if ";\n" in line and "return" not in line and "break" not in line and "continue" not in line and "import" not in line and "package" not in line:
if random.randint(0, 20) % 2 == 0:
line = line.replace(";\n", get_rand_code())
line = line.replace(";\n", get_rand_code())
f_w.write(line)
print("done\n")
return
......
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