From e18925cb7e0aa8f79bbebb0d0e7edab3c6ead67c Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:23:39 +0800 Subject: [PATCH] Update decode.py --- src/decode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decode.py b/src/decode.py index 694e142..58d56d1 100644 --- a/src/decode.py +++ b/src/decode.py @@ -76,7 +76,7 @@ def decrypt_nested(data): return new_data # 返回最终解密后的数据 -with open('input.py', 'r') as file: +with open('../input.py', 'r') as file: # 读取文件内容 content = file.read().strip() # 打印内容 @@ -88,5 +88,5 @@ final_decrypted_data = decrypt_nested(encoded_data) # 输出最终解密结果 print("最终解密结果:") print(final_decrypted_data) -with open("output.py", 'wb') as f: +with open("../input.py", 'wb') as f: f.write(final_decrypted_data)