fix: bugs

This commit is contained in:
Simon Ding
2024-07-28 15:54:51 +08:00
parent fc86a441f4
commit 7f025a6246
3 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ func (c *Client) init() {
downloadDir := c.GetSetting(SettingDownloadDir)
if downloadDir == "" {
log.Infof("set default download dir")
c.SetSetting(downloadDir, "/downloads")
c.SetSetting(SettingDownloadDir, "/downloads")
}
logLevel := c.GetSetting(SettingLogLevel)
if logLevel == "" {