We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb168c commit 77e4dc5Copy full SHA for 77e4dc5
.gitignore
@@ -10,4 +10,3 @@ bundles
10
.eggs
11
dist
12
**/*.egg-info
13
-tester.py
adafruit_gps.py
@@ -186,11 +186,11 @@ def _parse_sentence(self):
186
sentence = sentence[:-3]
187
# Parse out the type of sentence (first string after $ up to comma)
188
# and then grab the rest as data within the sentence.
189
- delineator = sentence.find(',')
190
- if delineator == -1:
+ delimiter = sentence.find(',')
+ if delimiter == -1:
191
return None # Invalid sentence, no comma after data type.
192
- data_type = sentence[1:delineator]
193
- return (data_type, sentence[delineator+1:])
+ data_type = sentence[1:delimiter]
+ return (data_type, sentence[delimiter+1:])
194
195
def _parse_gpgll(self, args):
196
data = args.split(',')
0 commit comments