Skip to content

Commit f9ec06f

Browse files
committed
Updated script
Corrected indentation for git's code viewer.
1 parent 4fc05e5 commit f9ec06f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

polar_export.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def printTimeStamp(ds):
5959
ts.hour, ts.minute, ts.second, ds % 1000 )
6060

6161
bounds = [[ 180.0, 180.0],
62-
[-180.0,-180.0]]
62+
[-180.0,-180.0]]
6363
for sample in data:
6464
bounds[0][0] = min(bounds[0][0],sample[PART_INDEX_LAT])
6565
bounds[0][1] = min(bounds[0][1],sample[PART_INDEX_LON])
@@ -77,19 +77,19 @@ def printTimeStamp(ds):
7777
</metadata>
7878
<trk>
7979
<trkseg>''' % ( NAME,
80-
printTimeStamp(TIME),
81-
bounds[1][1],
82-
bounds[1][0],
83-
bounds[0][1],
84-
bounds[0][0] )
80+
printTimeStamp(TIME),
81+
bounds[1][1],
82+
bounds[1][0],
83+
bounds[0][1],
84+
bounds[0][0] )
8585

8686
for sample in data:
8787
out += '''
8888
<trkpt lon="%3.14f" lat="%3.14f">
8989
<time>%s</time>
9090
</trkpt>''' % ( sample[PART_INDEX_LON],
91-
sample[PART_INDEX_LAT],
92-
printTimeStamp(sample[PART_INDEX_TIME]) )
91+
sample[PART_INDEX_LAT],
92+
printTimeStamp(sample[PART_INDEX_TIME]) )
9393

9494
out += '''
9595
</trkseg>

0 commit comments

Comments
 (0)