确认PokieTicker新闻库数据源
This commit is contained in:
@@ -49,9 +49,8 @@ def handle_history_cleanup(config_name: str, auto_clean: bool = False) -> None:
|
||||
config_name: Configuration name for the run
|
||||
auto_clean: If True, skip confirmation and clean automatically
|
||||
"""
|
||||
# logs_dir = get_project_root() / "logs"
|
||||
logs_dir = get_project_root()
|
||||
base_data_dir = logs_dir / config_name
|
||||
workspace_manager = WorkspaceManager(project_root=get_project_root())
|
||||
base_data_dir = workspace_manager.get_run_dir(config_name)
|
||||
|
||||
# Check if historical data exists
|
||||
if not base_data_dir.exists() or not any(base_data_dir.iterdir()):
|
||||
|
||||
Reference in New Issue
Block a user