From c05044c53a5d0213ef33b2b3bdbb57a328300ad2 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期二, 17 六月 2025 17:31:39 +0800
Subject: [PATCH] ‘功能完善

---
 strategy/strategy_variable_factory.py |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/strategy/strategy_variable_factory.py b/strategy/strategy_variable_factory.py
index 650a949..7a29a7e 100644
--- a/strategy/strategy_variable_factory.py
+++ b/strategy/strategy_variable_factory.py
@@ -22,7 +22,7 @@
     鏁版嵁鍔犺浇鍣ㄧ被锛岀敤浜庨泦涓鐞嗙瓥鐣ュ彉閲忔墍闇�鐨勫悇绫绘暟鎹姞杞介�昏緫
     """
 
-    def __init__(self, now_day, cache_path="D:/datas"):
+    def __init__(self, now_day, cache_path=f"{constant.get_path_prefix()}/datas"):
         """
         鍒濆鍖栨暟鎹姞杞藉櫒
         :param now_day: 褰撳墠鏃ユ湡锛屾牸寮忎负"2025-01-01"
@@ -658,13 +658,10 @@
     plates = ["澶╃劧姘�", "鍐涘伐"]
     print("==========鏂伴鏉�=======")
     for p in plates:
-        codes = [x for x in results.get(p) ] # if get_zylt(x) < 31e8
+        codes = [x for x in results.get(p)]  # if get_zylt(x) < 31e8
         print("======", p)
         for code in codes:
             print("\t\t", code, gpcode_manager.CodesNameManager().get_code_name(code))
-
-
-
 
 
 if __name__ == "__main__":

--
Gitblit v1.8.0