🎨 Fix set pandoc bin path

This commit is contained in:
Daniel 2023-06-19 18:28:15 +08:00
parent 5613c38acd
commit ca01112462
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -254,6 +254,8 @@ func setExport(c *gin.Context) {
if !util.IsValidPandocBin(export.PandocBin) {
util.PushErrMsg(fmt.Sprintf(model.Conf.Language(117), export.PandocBin), 5000)
export.PandocBin = util.PandocBinPath
} else {
util.PandocBinPath = export.PandocBin
}
}