kopia lustrzana https://github.com/inmcm/micropyGPS
Fix pretty kph string printer from using mph value
rodzic
8bd4818871
commit
e82a5d5c8f
|
@ -584,7 +584,7 @@ class MicropyGPS(object):
|
||||||
speed_string = str(self.speed[0]) + unit_str
|
speed_string = str(self.speed[0]) + unit_str
|
||||||
|
|
||||||
else:
|
else:
|
||||||
speed_string = str(self.speed[1]) + ' km/h'
|
speed_string = str(self.speed[2]) + ' km/h'
|
||||||
|
|
||||||
return speed_string
|
return speed_string
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue