mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(download-client): Deluge push error (#1719)
fix(downloadclient): Deluge push error
This commit is contained in:
parent
ac6f62db99
commit
2681c2357d
12 changed files with 12 additions and 5 deletions
|
@ -32,10 +32,6 @@ func (s *service) RunAction(ctx context.Context, action *domain.Action, release
|
|||
}
|
||||
}()
|
||||
|
||||
if action.ClientID > 0 && action.Client != nil && !action.Client.Enabled {
|
||||
return nil, errors.New("action %s client %s %s not enabled, skipping", action.Name, action.Client.Type, action.Client.Name)
|
||||
}
|
||||
|
||||
// Check preconditions: download torrent file if needed
|
||||
if err := s.CheckActionPreconditions(ctx, action, release); err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue