File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def _parse_gpgga(self, args):
152
152
if time_utc is not None :
153
153
hours = time_utc // 10000
154
154
mins = int ((time_utc // 100 ) % 100 )
155
- secs = time_utc % 100
155
+ secs = int ( time_utc % 100 )
156
156
# Set or update time to a friendly python time struct.
157
157
if self .timestamp_utc is not None :
158
158
self .timestamp_utc = time .struct_time ((
@@ -188,7 +188,7 @@ def _parse_gprmc(self, args):
188
188
if time_utc is not None :
189
189
hours = time_utc // 10000
190
190
mins = int ((time_utc // 100 ) % 100 )
191
- secs = time_utc % 100
191
+ secs = int ( time_utc % 100 )
192
192
# Set or update time to a friendly python time struct.
193
193
if self .timestamp_utc is not None :
194
194
self .timestamp_utc = time .struct_time ((
You can’t perform that action at this time.
0 commit comments