From 7ced11b4a22e4be6476a7176236aadf162c8d8c7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 4 Jan 2026 17:15:20 +0800 Subject: [PATCH] bugfix --- accounting/consume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/consume.py b/accounting/consume.py index cba8ef7..8096cc0 100644 --- a/accounting/consume.py +++ b/accounting/consume.py @@ -35,7 +35,7 @@ class ConsumeBiz(PFBiz): return self.customerid if role == 'reseller': return self.resellerid - if role is 'provider': + if role == 'provider': return self.providerid if role is None or role == 'null': return None