Changeset 3539

Show
Ignore:
Timestamp:
04/21/10 10:30:26 (14 years ago)
Author:
jerome
Message:

Added a comment about the code not working right now with an unpatched PySerial?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykocard/trunk/pykocard/cartadistcrs.py

    r3538 r3539  
    108108        self.tcrs.flush() 
    109109        self.lastcommand = command 
     110        # 
     111        # IMPORTANT : the following code doesn't work because currently 
     112        # PySerial doesn't allow an EOL marker to be several chars long. 
     113        # I've just sent a patch for this to PySerial's author, and we'll 
     114        # see what happens. If not accepted, I'll write it another way. 
    110115        return = self.tcrs.readline(eol=self.tcrsprompt)[:-len(self.tcrsprompt)] 
    111116