Skip to content

Commit

Permalink
Fixed bug where _write was called on a serial port instead of write
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalmsten committed Aug 18, 2010
1 parent 1954894 commit 0da4cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbee/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def _write(self, data):
"""
_write: binary data -> None
Packages the given binary data in an API frame and _writes the
Packages the given binary data in an API frame and writes the
result to the serial port
"""
self.serial._write(APIFrame(data).output())
self.serial.write(APIFrame(data).output())

def run(self):
"""
Expand Down

0 comments on commit 0da4cb7

Please sign in to comment.