Преглед на файлове

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

DarthSim преди 3 месеца
родител
ревизия
7948ffa31b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {