mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-06 10:07:45 +08:00
fix
This commit is contained in:
@@ -56,6 +56,9 @@ func (s *Server) moveCompletedTask(id int) error {
|
||||
r := s.db.GetHistory(id)
|
||||
|
||||
series := s.db.GetSeriesDetails(r.SeriesID)
|
||||
if series == nil {
|
||||
return nil
|
||||
}
|
||||
st := s.db.GetStorage(series.StorageID)
|
||||
log.Infof("move task files to target dir: %v", r.TargetDir)
|
||||
if st.Implementation == storage1.ImplementationWebdav {
|
||||
|
||||
Reference in New Issue
Block a user