From 0e68e24f54db11d340785b17570fff2bc5fc7ac6 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 24 七月 2023 13:05:16 +0800 Subject: [PATCH] bug修复 --- l2/l2_data_util.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/l2/l2_data_util.py b/l2/l2_data_util.py index 7cc01e4..c7c25d4 100644 --- a/l2/l2_data_util.py +++ b/l2/l2_data_util.py @@ -14,7 +14,7 @@ import constant from code_attribute import gpcode_manager from l2 import l2_data_log, l2_data_source_util -from logs_ import log +from log_module import log from db import redis_manager from utils import tool @@ -104,8 +104,7 @@ # 鍙~鍏呬拱鍏ユ暟鎹� key = "{}".format(data["val"]["orderNo"]) if local_today_buyno_map[code].get(key) is None: - local_today_buyno_map[code].setdefault(key, []) - local_today_buyno_map[code].get(key).append(data) + local_today_buyno_map[code].setdefault(key, data) @tool.async_call -- Gitblit v1.8.0