fix default config persistence

This commit is contained in:
nikk gitanes
2023-05-11 05:19:35 +03:00
parent 2effeea2c1
commit a42e740041
2 changed files with 23 additions and 16 deletions

View File

@@ -207,7 +207,7 @@ func SetDefSettings() {
if sets.ReadOnly {
return
}
sets.SetDefault()
sets.SetDefaultConfig()
log.TLogln("drop all torrents")
dropAllTorrent()
time.Sleep(time.Second * 1)