BUGFIX: leerzeichen in dateinamen

This commit is contained in:
Simon Martens
2025-02-19 22:14:16 +01:00
parent 107a9d9f70
commit cbbbec9273

View File

@@ -143,7 +143,7 @@ func getImages(path string) map[int][]string {
if len(basesplit) >= 3 {
commaseperatorsplit := strings.Split(basesplit[2], ",")
id := commaseperatorsplit[0]
no, err := strconv.Atoi(id)
no, err := strconv.Atoi(NormalizeString(id))
if err != nil {
slog.Error("Error parsing id", "error", err, "id", id)
return nil