fix: check for converter ready to do its job

This commit is contained in:
Antoine Aflalo
2024-08-26 23:42:15 -04:00
parent d7e3bc6399
commit 590dd646e7
3 changed files with 21 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ type Converter interface {
// Format of the converter
Format() (format constant.ConversionFormat)
ConvertChapter(chapter *packer.Chapter, quality uint8, progress func(string)) (*packer.Chapter, error)
PrepareConverter() error
}
var converters = map[constant.ConversionFormat]Converter{