Disable ci3 (#6063)

This commit is contained in:
Alex Sharov 2022-11-16 15:53:46 +03:00 committed by GitHub
parent 30bf54ebf2
commit e7a3c0789a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ func buildTorrentIfNeed(fName, root string) (err error) {
// AddSegment - add existing .seg file, create corresponding .torrent if need
func AddSegment(originalFileName, snapDir string, client *torrent.Client) (bool, error) {
fPath := filepath.Join(snapDir, originalFileName)
if !dir.FileExist(fPath + ".torrent") {
if !dir2.FileExist(fPath + ".torrent") {
return false, nil
}
_, err := AddTorrentFile(fPath+".torrent", client)