decentral1se 3 years ago
parent
commit
52be2da390
No known key found for this signature in database GPG Key ID: 3789458B3D0C410
  1. 2
      distribusi.go

2
distribusi.go

@ -471,6 +471,8 @@ func genThumb(c *cli.Context, fpath, caption string) (string, error) {
imgBase64Str := base64.StdEncoding.EncodeToString(buf.Bytes()) imgBase64Str := base64.StdEncoding.EncodeToString(buf.Bytes())
logrus.Debugf("successfully generated thumbnail for %s", fpath)
return imgBase64Str, nil return imgBase64Str, nil
} }

Loading…
Cancel
Save