Permalink
Browse files

Small refactor

  • Loading branch information...
1 parent 537b253 commit e293edc6de3fba0379c6cf7a93887e8fc459cdb9 @steeve committed Nov 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 msr605.py
View
@@ -57,7 +57,7 @@ def _expect(self, data):
raise ReadError('Expected %s, got %s.' % (repr(data), repr(read_data)))
def _read_until(self, end):
- data = ""
+ data = ''
while True:
data += self.read(1)
if data.endswith(end):

0 comments on commit e293edc

Please sign in to comment.