Commit 6b14a257 by sikang

bug fix

parent e844d0f6
...@@ -16,7 +16,7 @@ def decrypt(path): ...@@ -16,7 +16,7 @@ def decrypt(path):
with open(path, "w") as f_w: with open(path, "w") as f_w:
for line in lines: for line in lines:
if "<string" in line and "</string>\n" in line and "<!": not in line if "<string" in line and "</string>\n" in line and "<!" not in line:
line = line.replace("</string>\n", "") line = line.replace("</string>\n", "")
str_name = line.split(">")[0] + ">" str_name = line.split(">")[0] + ">"
......
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