From 51f6165059ca08a890c45a66e4014592c960aefc Mon Sep 17 00:00:00 2001 From: Andre Celere Date: Tue, 9 Apr 2019 15:06:30 -0400 Subject: [PATCH] Update README file - example code was broken --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01d821d..8e0a3ab 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ for track in gpx: print('Track with {} segments and {} points'. format(len(track), track.get_points_no())) for segment in track: - print('Segment with %s points % len(segment)) + print('Segment with %s points % len(segment)') for point in segment: print(point) @@ -121,4 +121,4 @@ gpx.walk() # generator, yields (point, track_num, segment_num, point.distance_2d(other_point) # distance in meters point.time_difference(other_point) # time in seconds, or None, if one of the points doesn't have time attribute. point.speed_between(other_point) # speed, i m/s, or None, if one of the points doesn't have time attribute. -``` \ No newline at end of file +```