Explorar o código

Fix "Webp effort can't be greater than..." error

DarthSim hai 3 meses
pai
achega
7948ffa31b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -765,7 +765,7 @@ func Configure() error {
 	if WebpEffort < 1 {
 		return fmt.Errorf("Webp effort should be greater than 0, now - %d\n", WebpEffort)
 	} else if WebpEffort > 6 {
-		return fmt.Errorf("Webp effort can't be greater than 9, now - %d\n", WebpEffort)
+		return fmt.Errorf("Webp effort can't be greater than 6, now - %d\n", WebpEffort)
 	}
 
 	if Quality <= 0 {