Fix segv
This commit is contained in:
parent
2b2b1a893d
commit
890d3e2fdf
1 changed files with 1 additions and 1 deletions
|
@ -35,8 +35,8 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
|
||||||
ret.Id = 0
|
ret.Id = 0
|
||||||
} else {
|
} else {
|
||||||
ret.Id = t.Id
|
ret.Id = t.Id
|
||||||
}
|
|
||||||
ret.Points, _ = t.GetPoints()
|
ret.Points, _ = t.GetPoints()
|
||||||
|
}
|
||||||
ret.Exercices = map[string]myTeamExercice{}
|
ret.Exercices = map[string]myTeamExercice{}
|
||||||
|
|
||||||
if exos, err := GetExercices(); err != nil {
|
if exos, err := GetExercices(); err != nil {
|
||||||
|
|
Reference in a new issue