Commit f917d71a by sikang

update script

parent 04189564
...@@ -19,7 +19,7 @@ with open(path, "w", encoding="utf-8") as f_w: ...@@ -19,7 +19,7 @@ with open(path, "w", encoding="utf-8") as f_w:
if "<application" in line: if "<application" in line:
isFinished = True isFinished = True
if isPermissionDoce and not isFinished: if isPermissionDoce and not isFinished and "<!--" not in line:
line = "<!-- " + line.replace("\n"," -->\n") line = "<!-- " + line.replace("\n"," -->\n")
f_w.write(line) f_w.write(line)
\ No newline at end of file
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