diff --git a/internal/functions/pandownload/download_task_unit.go b/internal/functions/pandownload/download_task_unit.go index 18a14b8..5779ad3 100644 --- a/internal/functions/pandownload/download_task_unit.go +++ b/internal/functions/pandownload/download_task_unit.go @@ -181,7 +181,7 @@ func (dtu *DownloadTaskUnit) download() (err error) { }) der.OnExecute(func() { - fmt.Printf("[%s] 下载开始\n\n", dtu.taskInfo.Id()) + fmt.Printf("[%s] 下载开始\n", dtu.taskInfo.Id()) }) err = der.Execute() @@ -396,7 +396,7 @@ func (dtu *DownloadTaskUnit) Run() (result *taskframework.TaskUnitRunResult) { return } - fmt.Printf("[%s] 将会下载到路径: %s\n\n", dtu.taskInfo.Id(), dtu.SavePath) + fmt.Printf("[%s] 将会下载到路径: %s\n", dtu.taskInfo.Id(), dtu.SavePath) var ok bool er := dtu.download()