Skip to content

Commit aec48ef

Browse files
committed
stop deleting .parts files
1 parent 621065f commit aec48ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/local/move-rarbg-subtitles.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ func cleanUpFiles(root string) error {
250250
}
251251
}
252252

253-
if strings.ToUpper(d.Name()) == "RARBG_DO_NOT_MIRROR.EXE" ||
254-
(strings.HasPrefix(d.Name(), ".") && strings.ToUpper(filepath.Ext(path)) == ".PARTS") {
253+
if strings.ToUpper(d.Name()) == "RARBG_DO_NOT_MIRROR.EXE" {
254+
//|| (strings.HasPrefix(d.Name(), ".") && strings.ToUpper(filepath.Ext(path)) == ".PARTS")
255255
err := os.RemoveAll(path)
256256
if err != nil {
257257
return err

0 commit comments

Comments
 (0)