mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-04 11:55:30 -04:00
Fix incorrect variable in MangaDex::Downloader (@stop -> @stopped)
This commit is contained in:
parent
f140ffa4b2
commit
dfd53bc51d
@ -284,7 +284,7 @@ module MangaDex
|
||||
end
|
||||
|
||||
private def download(job : Job)
|
||||
@stop = true
|
||||
@stopped = true
|
||||
@queue.set_status JobStatus::Downloading, job
|
||||
begin
|
||||
chapter = @api.get_chapter(job.id)
|
||||
@ -294,7 +294,7 @@ module MangaDex
|
||||
unless e.message.nil?
|
||||
@queue.add_message e.message.not_nil!, job
|
||||
end
|
||||
@stop = false
|
||||
@stopped = false
|
||||
return
|
||||
end
|
||||
@queue.set_pages chapter.pages.size, job
|
||||
@ -359,7 +359,7 @@ module MangaDex
|
||||
else
|
||||
@queue.set_status JobStatus::MissingPages, job
|
||||
end
|
||||
@stop = false
|
||||
@stopped = false
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user