Skip to content

Commit

Permalink
fix: loop typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikubill committed Dec 24, 2020
1 parent 13b64ff commit f944f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func download(v string) error {
}

if files.Pages > 1 {
for i := 1; 1 < files.Pages; i++ {
for i := 1; i < int(files.Pages); i++ {
extra, err := fetchPage(i, details.GUID, fileID)
if err != nil {
continue
Expand Down

0 comments on commit f944f0d

Please sign in to comment.