importer/twitter: coordinates bugfix

Change-Id: I089f9125a231277bdabe7ccc29280f62ecd2cc51
This commit is contained in:
mpl 2014-07-11 16:53:29 +02:00
parent 0455681bd4
commit 73fdc7d47f
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ func latLong(g *geo, c *coords) (lat, long float64, ok bool) {
}
}
if c != nil && len(c.Coordinates) == 2 {
co := g.Coordinates
co := c.Coordinates
if co[0] != 0 && co[1] != 0 {
return co[1], co[0], true
}