This commit is contained in:
Milan Nikolic
2023-03-04 11:30:11 +01:00
parent a74034d669
commit f1804ce13c
2 changed files with 17 additions and 17 deletions

View File

@@ -90,14 +90,14 @@ func main() {
}
if opts.Cover {
err = conv.ExtractCover(file, stat)
err = conv.Cover(file, stat)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
continue
} else if opts.Thumbnail {
err = conv.ExtractThumbnail(file, stat)
err = conv.Thumbnail(file, stat)
if err != nil {
fmt.Println(err)
os.Exit(1)