mkthumb: fix build for post-refactor
This commit is contained in:
parent
9a833d025a
commit
c16736d86f
@ -20,8 +20,8 @@ func main() {
|
|||||||
|
|
||||||
fname := flag.Arg(0)
|
fname := flag.Arg(0)
|
||||||
|
|
||||||
th := thumbnail.NewThumbnailer(*width, *height, 1)
|
th := thumbnail.NewThumbnailer(*width, *height)
|
||||||
data, err := th.RenderFile_NoCache(fname)
|
data, err := th.RenderFile(fname)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err.Error())
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user