mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
BUGFIX: leerzeichen in dateinamen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user