1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 07:36:23 -07:00

Remove extraneous prints

This commit is contained in:
Eggbertx 2023-06-16 09:54:52 -07:00
parent ad66026020
commit 36ce238dff
2 changed files with 1 additions and 2 deletions

View file

@ -145,7 +145,6 @@ var funcMap = template.FuncMap{
for k := 0; k < len(values); k += 2 { for k := 0; k < len(values); k += 2 {
key, ok := values[k].(string) key, ok := values[k].(string)
if !ok { if !ok {
fmt.Printf("%q\n\n", key)
return nil, ErrInvalidKey return nil, ErrInvalidKey
} }
dict[key] = values[k+1] dict[key] = values[k+1]

View file

@ -91,7 +91,7 @@ func registerAdminPages() {
if (do == "add" || do == "update") && password != passwordConfirm { if (do == "add" || do == "update") && password != passwordConfirm {
return "", ErrPasswordConfirm return "", ErrPasswordConfirm
} }
fmt.Println(do, updateUsername)
rankStr := request.FormValue("rank") rankStr := request.FormValue("rank")
var rank int var rank int
if rankStr != "" { if rankStr != "" {