Skip to content

Commit

Permalink
Fix for issue JohnBrodie#16
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenschroeder committed Feb 8, 2019
1 parent df2261b commit 285ff17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyjector/pyjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def _send(self, data):
self.serial.write(data.encode())

def _recv(self, size=1):
data = self.serial.read(size)
data = self.serial.read(size).decode()
if data:
logging.debug("_recv: " + repr(data))
return data
Expand Down

0 comments on commit 285ff17

Please sign in to comment.