fix: audio and video types

pull/844/head
Xhofe 2022-03-28 21:53:57 +08:00
parent dd151480a8
commit 7ffaef0de6
1 changed files with 2 additions and 2 deletions

View File

@ -93,11 +93,11 @@ func LoadSettings() {
if err == nil {
conf.TextTypes = strings.Split(textTypes.Value, ",")
}
audioTypes, err := GetSettingByKey("text types")
audioTypes, err := GetSettingByKey("audio types")
if err == nil {
conf.AudioTypes = strings.Split(audioTypes.Value, ",")
}
videoTypes, err := GetSettingByKey("text types")
videoTypes, err := GetSettingByKey("video types")
if err == nil {
conf.VideoTypes = strings.Split(videoTypes.Value, ",")
}