resolved small error

This commit is contained in:
Jannover5000r 2025-07-03 15:25:56 +02:00
parent 056fda8cff
commit 3716c6dbf6

View file

@ -256,9 +256,6 @@ func MapTimeToRoom(path string) (map[string]string, error) {
roomByStartTime[entry.StartTime] = entry.Ro[0] roomByStartTime[entry.StartTime] = entry.Ro[0]
} }
} }
if roomByStartTime == nil {
return nil, nil
}
return roomByStartTime, nil return roomByStartTime, nil
} }
func MapTimeToCode(path string) (map[string]string, error) { func MapTimeToCode(path string) (map[string]string, error) {