From 2199e71c62fd68ac63d54f5dd2cbd4994121577f Mon Sep 17 00:00:00 2001 From: Marco Kittel Date: Thu, 26 Jun 2025 23:28:24 +0200 Subject: [PATCH] Fix for Fileextract Method --- tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools.go b/tools/tools.go index 4f496cb..66ca596 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -28,7 +28,7 @@ func ExtractDateAndConvertToDate(filename string) (time.Time, error) { } func ExtractWarehouseAndType(filename string) string { - return filename[27 : len(filename)-1] + return filename[26:len(filename)] } func CheckDir(path string) (bool, error) {