From 0367eeb7e93da58be4574cd97a52a8ed09c10efc Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Sun, 25 Sep 2016 08:01:20 -0400 Subject: [PATCH] Fixed a bug in the Aprs class where one of the variables didnt match the naming convention and other parts of the program referenced it incorrectly. --- src/apex/aprs/aprs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apex/aprs/aprs.py b/src/apex/aprs/aprs.py index 976f267..64d01eb 100644 --- a/src/apex/aprs/aprs.py +++ b/src/apex/aprs/aprs.py @@ -25,7 +25,7 @@ class Aprs(object): """APRS interface.""" def __init__(self, data_stream): - self.data_Stream = data_stream + self.data_stream = data_stream @staticmethod def __decode_frame(raw_frame): @@ -183,12 +183,12 @@ class Aprs(object): :type frame: dict """ encoded_frame = Aprs.__encode_frame(frame) - self.data_Stream.write(encoded_frame, port) + self.data_stream.write(encoded_frame, port) def read(self): """Reads APRS-encoded frame from KISS device. """ - frame = self.data_Stream.read() + frame = self.data_stream.read() if frame is not None and len(frame): return Aprs.__decode_frame(frame) else: -- GitLab