mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-25 12:13:41 +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"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
thelper "codeberg.org/hyperreal/go-torrent-helper/common"
|
"codeberg.org/hyperreal/go-torrent-helper/common"
|
||||||
"github.com/hekmon/transmissionrpc"
|
"github.com/hekmon/transmissionrpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ func (d Debian) AddNewTorrents(transmissionbt *transmissionrpc.Client) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d Debian) RemoveOldTorrents(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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user