From f4949212d8badac4ff70aa84e201cec442691863 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 19 May 2026 18:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20ruff=20lint=EF=BC=9A?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/payments/contract_checkout.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/payments/contract_checkout.py b/src/payments/contract_checkout.py index ba7a89c3..464611de 100644 --- a/src/payments/contract_checkout.py +++ b/src/payments/contract_checkout.py @@ -1925,8 +1925,6 @@ class PaymentContractCheckoutService: current_subscription = row break if isinstance(current_subscription, dict): - current_plan_code = str(current_subscription.get("plan_code") or "").strip().lower() - current_source = str(current_subscription.get("source") or "").strip().lower() try: latest_exp = datetime.fromisoformat( str(current_subscription.get("expires_at") or "").replace("Z", "+00:00")