Skip to content

Commit e712662

Browse files
committed
Revert "FIX: Re-adds immediate 403 bail"
This reverts commit a65ca36.
1 parent 297c10d commit e712662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

downloads.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ func (download downloadRequestStruct) handleDownload() (downloadStatusStruct, in
509509
for i := 0; i < config.DownloadRetryMax; i++ {
510510
status, tempfilesize = download.tryDownload()
511511
// Success or Skip
512-
if status.Status < downloadFailed || status.Status == downloadFailedCode403 || status.Status == downloadFailedCode404 {
512+
if status.Status < downloadFailed || status.Status == downloadFailedCode404 {
513513
break
514514
} else {
515515
time.Sleep(5 * time.Second)

0 commit comments

Comments
 (0)