Changeset 2894
- Timestamp:
- 01/22/12 08:28:10 (4 months ago)
- Files:
-
- 1 modified
-
trunk/moteur/posscripts/getpos_vor20120114bis.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/moteur/posscripts/getpos_vor20120114bis.py
r2892 r2894 31 31 updatexml = os.path.join(vlmtmp, basefilename+".update.xml") 32 32 33 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/ leg3/shared/event/static.hwz", statichwz)33 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/shared/leg3/event/static.hwz", statichwz) 34 34 unzip_file_into_dest(statichwz, staticxml) 35 35 … … 46 46 47 47 #page = urlopen("http://volvooceanrace.geovoile.com/2011/leg2/shared/event/update.xml") 48 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/ leg3/shared/event/update.hwz", updatehwz)48 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/shared/leg3/event/update.hwz", updatehwz) 49 49 unzip_file_into_dest(updatehwz, updatexml) 50 50 … … 65 65 for outline in tree.findall(".//track"): 66 66 l = outline.text.split(';') 67 lat, lon, t = 0, 0, start ime67 lat, lon, t = 0, 0, starttime 68 68 rid = int(outline.attrib['id']) 69 69 id = -1200-rid
