Skip to content

Commit

Permalink
[fsm] Fix weird import
Browse files Browse the repository at this point in the history
  • Loading branch information
eskerda committed Jun 2, 2017
1 parent 1c8ae93 commit 7017f61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pybikes/fsm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2017, aronsky <[email protected]>

import re
from lxml import etree

from pybikes.base import BikeShareSystem, BikeShareStation
Expand Down Expand Up @@ -37,7 +38,7 @@ def get_stations(self, dom):
name = placemark.findtext('kml:name', namespaces=ns)
info = placemark.findtext('kml:description', namespaces=ns)
station_uid, bikes, free = map(int,
utils.re.findall(r'\w+\:\s*(\d+)', info)
re.findall(r'\w+\:\s*(\d+)', info)
)
latitude, longitude = placemark.findtext(
'kml:Point/kml:coordinates',
Expand Down

0 comments on commit 7017f61

Please sign in to comment.