Add RAR/CBR support

This commit is contained in:
Alex Ling
2020-05-29 13:45:25 +00:00
parent 8665616c2e
commit 6b43ee7fe5
6 changed files with 77 additions and 24 deletions

View File

@@ -371,7 +371,7 @@ module MangaDex
writer.close
Logger.debug "cbz File created at #{zip_path}"
zip_exception = validate_zip zip_path
zip_exception = validate_archive zip_path
if !zip_exception.nil?
@queue.add_message "The downloaded archive is corrupted. " \
"Error: #{zip_exception}", job