Fix email editor when plaintext setting enabled

This commit is contained in:
Harvey Tindall
2021-02-22 16:40:37 +00:00
parent 9799665951
commit 40fc5e9604
12 changed files with 89 additions and 14 deletions
-1
View File
@@ -33,7 +33,6 @@ func (app *appContext) loadConfig() error {
for _, key := range app.config.Section("files").Keys() {
if name := key.Name(); name != "html_templates" && name != "lang_files" {
fmt.Println(name)
key.SetValue(key.MustString(filepath.Join(app.dataPath, (key.Name() + ".json"))))
}
}