skip weird long tags
This commit is contained in:
parent
39ff5b5aa8
commit
e5d08de8fb
1 changed files with 3 additions and 0 deletions
3
web.go
3
web.go
|
@ -679,6 +679,9 @@ func thelistingoftheontologies(w http.ResponseWriter, r *http.Request) {
|
|||
log.Printf("error scanning ont: %s", err)
|
||||
continue
|
||||
}
|
||||
if len(o.Name) > 24 {
|
||||
continue
|
||||
}
|
||||
o.Name = o.Name[1:]
|
||||
onts = append(onts, o)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue