Fix for Fileextract Method

This commit is contained in:
Marco Kittel 2025-06-26 23:28:24 +02:00
parent a152ec93d5
commit 2199e71c62
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func ExtractDateAndConvertToDate(filename string) (time.Time, error) {
} }
func ExtractWarehouseAndType(filename string) string { func ExtractWarehouseAndType(filename string) string {
return filename[27 : len(filename)-1] return filename[26:len(filename)]
} }
func CheckDir(path string) (bool, error) { func CheckDir(path string) (bool, error) {