From 2e09414d466f1a5b025f64e442598132c9e86e49 Mon Sep 17 00:00:00 2001 From: cam Date: Fri, 4 Oct 2024 00:02:29 +1300 Subject: [PATCH] Fix file globs array length --- cmd/thermal-uploader/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/thermal-uploader/main.go b/cmd/thermal-uploader/main.go index e837f0a..8eff9bd 100644 --- a/cmd/thermal-uploader/main.go +++ b/cmd/thermal-uploader/main.go @@ -42,7 +42,7 @@ const ( var log = logging.NewLogger("info") var version = "No version provided" -var globs = [5]string{"*.cptv", "*.avi", "*.mp4", "*.aac"} +var globs = [4]string{"*.cptv", "*.avi", "*.mp4", "*.aac"} type Args struct { ConfigDir string `arg:"-c,--config" help:"path to configuration directory"`