From e82293ea97ec2ff92870d308f73c61ac1b0bffe3 Mon Sep 17 00:00:00 2001 From: Ehco1996 Date: Thu, 21 Dec 2023 11:18:42 +0800 Subject: [PATCH] Fix variable name in sync_user_traffic_task --- apps/sspanel/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sspanel/tasks.py b/apps/sspanel/tasks.py index 7edc32c0f3..98f76339b1 100644 --- a/apps/sspanel/tasks.py +++ b/apps/sspanel/tasks.py @@ -58,7 +58,7 @@ def sync_user_traffic_task(node_id, data): # 记录用户占用节点流量 if user_id in node_occurred_user_ids: UserProxyNodeOccupancy.check_and_incr_traffic( - user_id=user_id, node_id=node_id, traffic=d + u + user_id=user_id, proxy_node_id=node_id, traffic=d + u ) else: # 个人流量增量