Browse Source

Update backgroundchanger.go

main 1.0.2
Unbewohnte 4 years ago committed by GitHub
parent
commit
d64baa7077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      backgroundchanger.go

1
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 {

Loading…
Cancel
Save