From ab6749056a3f0237c5078598ed22740cdc1391be Mon Sep 17 00:00:00 2001 From: lishuang Date: Sun, 20 Mar 2022 17:21:40 +0800 Subject: [PATCH] Fix the sqlite folder bug. --- code/support/tank_config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/support/tank_config.go b/code/support/tank_config.go index fa641c8..e12aa38 100644 --- a/code/support/tank_config.go +++ b/code/support/tank_config.go @@ -198,11 +198,11 @@ func (this *TankConfig) SqliteFolder() string { if this.sqliteFolder == "" { //use default file location. if this.item == nil || this.item.SqliteFolder == "" { - this.sqliteFolder = util.GetHomePath() + "/matter" + this.sqliteFolder = util.GetHomePath() + "/conf" } else { this.sqliteFolder = util.UniformPath(this.item.SqliteFolder) } - util.MakeDirAll(this.matterPath) + util.MakeDirAll(this.sqliteFolder) } return this.sqliteFolder