diff options
Diffstat (limited to 'chimere/utils.py')
-rw-r--r-- | chimere/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index 71a7237..c86bb0b 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -720,7 +720,7 @@ class GeoRSSManager(ImportManager): points = item['georss_line'].split(' ') reordered_points = [] # lat, lon -> x, y - for idx in range(len(points) / 2): + for idx in range(int(len(points) / 2)): reordered_points.append("%s %s" % (points[idx * 2 + 1], points[idx * 2])) dct['route'] = 'SRID=4326;LINESTRING(%s)' % \ |