diff options
Diffstat (limited to 'skate/url.go')
-rw-r--r-- | skate/url.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/url.go b/skate/url.go index d8560ac..b37fe4d 100644 --- a/skate/url.go +++ b/skate/url.go @@ -36,7 +36,7 @@ func SanitizeURL(s string) string { ) if len(indices) > 1 { // http://ailab.ist.psu.edu/bcpred/SVMTriP:http://sysbio.unl.edu/SVMTriP/prediction.phpBcell - s = s[0:indices[1]] // only use the first + s = s[indices[0]:indices[1]] // only use the first s = strings.TrimRight(s, ":") s = strings.TrimRight(s, ";") } |