清理未使用导入和局部变量

This commit is contained in:
yml2213
2026-08-31 10:31:32 +08:00
parent b58c6b4357
commit 840af3108e
7 changed files with 3 additions and 145 deletions
-1
View File
@@ -180,7 +180,6 @@ def _gen_with_session(st: SessionState, order: dict) -> str:
def cmd_gen(args) -> int:
st = load_session(args.session)
order = load_order(args.order)
params = {k: order.get(k, "") for k in ORDER_FIELDS}
hex_msg = _gen_with_session(st, order)
out = Path(args.output) if args.output else ROOT / "config" / "encrypt_msg.txt"
out.parent.mkdir(parents=True, exist_ok=True)