diff --git a/src/WorstCaptcha/GetWord.go b/src/WorstCaptcha/GetWord.go index 908e8e0..97d4e2c 100644 --- a/src/WorstCaptcha/GetWord.go +++ b/src/WorstCaptcha/GetWord.go @@ -1,7 +1,6 @@ package WorstCaptcha import ( - "fmt" "io/ioutil" "os" "math/rand" @@ -12,6 +11,7 @@ func GetRandomWord() string { dir, _ := os.Getwd() files, _ := ioutil.ReadDir(dir + "/images/") + files = files[1:] file := files[rand.Intn(len(files))].Name()