Fix type consistency on update()

Cosmestic changes
pull/4/head
Calvin 2014-12-12 17:40:36 -05:00
rodzic 0258e5c9a8
commit 4c8bc4218b
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -356,14 +356,14 @@ class MicropyGPS(object):
# Check if a new string is starting ($) # Check if a new string is starting ($)
if new_char == '$': if new_char == '$':
self.new_sentence() self.new_sentence()
return False return None
# Check if sentence is ending (*) # Check if sentence is ending (*)
elif new_char == '*': elif new_char == '*':
self.process_crc = False self.process_crc = False
self.active_segment += 1 self.active_segment += 1
self.gps_segments.append('') self.gps_segments.append('')
return False return None
# Check if a section is ended (,), Create a new substring to feed # Check if a section is ended (,), Create a new substring to feed
# characters to # characters to
@ -408,8 +408,10 @@ class MicropyGPS(object):
# Tell Host no new sentence was parsed # Tell Host no new sentence was parsed
return None return None
#########################################
# User Helper Functions # User Helper Functions
# These functions make working with the GPS object data a little easier # These functions make working with the GPS object data easier
#########################################
def satellite_data_updated(self): def satellite_data_updated(self):
""" """