mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-01 08:43:10 +01:00
Remove unnecessary package alias
This commit is contained in:
parent
77e94969d6
commit
2d506fcafd
4
debian/main.go
vendored
4
debian/main.go
vendored
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
thelper "codeberg.org/hyperreal/go-torrent-helper/common"
|
||||
"codeberg.org/hyperreal/go-torrent-helper/common"
|
||||
"github.com/hekmon/transmissionrpc"
|
||||
)
|
||||
|
||||
@ -40,7 +40,7 @@ func (d Debian) AddNewTorrents(transmissionbt *transmissionrpc.Client) error {
|
||||
}
|
||||
|
||||
func (d Debian) RemoveOldTorrents(transmissionbt *transmissionrpc.Client) error {
|
||||
if err := thelper.RemoveTorrents(d.NameSubstr, d.Relver, transmissionbt); err != nil {
|
||||
if err := common.RemoveTorrents(d.NameSubstr, d.Relver, transmissionbt); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user