@plinyGo
This commit is contained in:
Liang Ding 2016-02-26 11:12:33 +08:00
parent 35576c42b5
commit ada7da92c9
1 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,10 @@ func initUsers() {
continue continue
} }
if ".json" != filepath.Ext(name) { // such as backup (*.json~) not be created by Wide
continue
}
user := &User{} user := &User{}
bytes, _ := ioutil.ReadFile("conf/users/" + name) bytes, _ := ioutil.ReadFile("conf/users/" + name)