Browse Source

feed the linter

Patrick Devine 7 months ago
parent
commit
5da1043680
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/imageproc/images.go

+ 1 - 1
server/imageproc/images.go

@@ -229,7 +229,7 @@ func Preprocess(imageData []byte) ([]float32, int, error) {
 	var aspectRatioIndex int
 	for n, r := range supportedRatios {
 		if r == aspectRatio {
-			aspectRatioIndex = n+1
+			aspectRatioIndex = n + 1
 			break
 		}
 	}