Selaa lähdekoodia

fix: 删除多余的导入

sansan 3 kuukautta sitten
vanhempi
sitoutus
1c863d9d4f
3 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 1 1
      trendradar/__init__.py
  2. 0 2
      trendradar/__main__.py
  3. 1 1
      version

+ 1 - 1
trendradar/__init__.py

@@ -9,5 +9,5 @@ TrendRadar - 热点新闻聚合与分析工具
 
 from trendradar.context import AppContext
 
-__version__ = "5.5.1"
+__version__ = "5.5.2"
 __all__ = ["AppContext", "__version__"]

+ 0 - 2
trendradar/__main__.py

@@ -385,7 +385,6 @@ class NewsAnalyzer:
 
                 # 如果是 platform 模式,转换数据结构
                 if self.ctx.display_mode == "platform" and stats:
-                    from trendradar.core.stats import convert_keyword_stats_to_platform_stats
                     stats = convert_keyword_stats_to_platform_stats(
                         stats,
                         self.ctx.weight_config,
@@ -426,7 +425,6 @@ class NewsAnalyzer:
 
                 # 如果是 platform 模式,转换数据结构
                 if self.ctx.display_mode == "platform" and stats:
-                    from trendradar.core.stats import convert_keyword_stats_to_platform_stats
                     stats = convert_keyword_stats_to_platform_stats(
                         stats,
                         self.ctx.weight_config,

+ 1 - 1
version

@@ -1 +1 @@
-5.5.1
+5.5.2