Browse Source

Bug fix

tags/v1.2.0-rc1
Unknown 12 years ago
parent
commit
c2816afe9c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      serve.go

+ 4
- 0
serve.go View File

@@ -45,6 +45,10 @@ func In(b string, sl map[string]int) bool {
}

func runServ(*cli.Context) {
base.NewConfigContext()
models.LoadModelsConfig()
models.NewEngine()

keys := strings.Split(os.Args[2], "-")
if len(keys) != 2 {
fmt.Println("auth file format error")


Loading…
Cancel
Save