Răsfoiți Sursa

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

DarthSim 7 luni în urmă
părinte
comite
7948ffa31b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 {