From d64baa7077c9052973a898a1a00de02ac016cd09 Mon Sep 17 00:00:00 2001 From: Unbewohnte <65883674+Unbewohnte@users.noreply.github.com> Date: Sun, 4 Apr 2021 09:57:17 +0300 Subject: [PATCH] Update backgroundchanger.go --- backgroundchanger.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backgroundchanger.go b/backgroundchanger.go index 61217e2..0182a3f 100644 --- a/backgroundchanger.go +++ b/backgroundchanger.go @@ -113,6 +113,7 @@ func isBeatmap(filename string) bool { return false } +// checks given filename for most common image extentions func isImage(filename string) bool { var imageExtentions []string = []string{"jpeg", "jpg", "png", "JPEG", "JPG", "PNG"} for _, extention := range imageExtentions {