Fix getting mount path
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package debrid
|
package debrid
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"goBlack/common"
|
"goBlack/common"
|
||||||
"goBlack/pkg/arr"
|
"goBlack/pkg/arr"
|
||||||
"os"
|
"os"
|
||||||
@@ -70,7 +71,7 @@ func (t *Torrent) GetMountFolder(rClonePath string) (string, error) {
|
|||||||
return path, nil
|
return path, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "", nil
|
return "", fmt.Errorf("no path found")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *Torrent) Delete() {
|
func (t *Torrent) Delete() {
|
||||||
|
|||||||
Reference in New Issue
Block a user