Skip to content

Commit 77e4dc5

Browse files
committed
Removed tester.py from gitignore
1 parent 6fb168c commit 77e4dc5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ bundles
1010
.eggs
1111
dist
1212
**/*.egg-info
13-
tester.py

adafruit_gps.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ def _parse_sentence(self):
186186
sentence = sentence[:-3]
187187
# Parse out the type of sentence (first string after $ up to comma)
188188
# and then grab the rest as data within the sentence.
189-
delineator = sentence.find(',')
190-
if delineator == -1:
189+
delimiter = sentence.find(',')
190+
if delimiter == -1:
191191
return None # Invalid sentence, no comma after data type.
192-
data_type = sentence[1:delineator]
193-
return (data_type, sentence[delineator+1:])
192+
data_type = sentence[1:delimiter]
193+
return (data_type, sentence[delimiter+1:])
194194

195195
def _parse_gpgll(self, args):
196196
data = args.split(',')

0 commit comments

Comments
 (0)