parent
91019f197f
commit
52be2da390
@ -471,6 +471,8 @@ func genThumb(c *cli.Context, fpath, caption string) (string, error) {
|
||||
|
||||
imgBase64Str := base64.StdEncoding.EncodeToString(buf.Bytes())
|
||||
|
||||
logrus.Debugf("successfully generated thumbnail for %s", fpath)
|
||||
|
||||
return imgBase64Str, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user