Commit 37d77469 by sikang

bug fix

parent 437595aa
......@@ -17,13 +17,14 @@ def decrypt(path):
with open(path, "w") as f_w:
for line in lines:
if "<string" in line and "</string>\n" in line and "<!" not in line:
line = line.replace("</string>\n", "")
str_name = line.split(">")[0] + ">"
str_value = line.split(">")[1]
randStr = str(random.randint(0, 1000000)) + "#-#"
line = str_name + randStr + base64.b64encode(randStr + str_value) + "</string>\n"
if "*keep*" in line:
line = line.replace("*keep*", "")
else:
line = line.replace("</string>\n", "")
str_name = line.split(">")[0] + ">"
str_value = line.split(">")[1]
randStr = str(random.randint(0, 1000000)) + "#-#"
line = str_name + randStr + base64.b64encode(randStr + str_value) + "</string>\n"
f_w.write(line)
# print("done\n")
......
......@@ -21,7 +21,7 @@
<string name="text_completed">Lengkap</string>
<string name="text_certification2">Bukti</string>
<string name="text_me">Saya</string>
<string name="text_can_not_login">Tidak bisa masuk? Klik disini</string>
<string name="text_can_not_login">*keep*Tidak bisa masuk? Klik disini</string>
<string name="loan_duration">Durasi Pinjaman</string>
......
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