清理未使用导入和局部变量
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user