Explorar el Código

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

DarthSim hace 3 meses
padre
commit
7948ffa31b
Se han modificado 1 ficheros con 1 adiciones y 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 {