Changeset 4


Ignore:
Timestamp:
03/31/08 11:09:29 (11 years ago)
Author:
retracile
Message:

Bugfix: reference self.serialport instead of the global.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • digitalmultimeter/trunk/digitalmultimeter.py

    r2 r4  
    179179 
    180180    def readline(self): 
    181         data = [ord(x) for x in serialport.read(9)] 
     181        data = [ord(x) for x in self.serialport.read(9)] 
    182182        timestamp = time.time() 
    183183 
Note: See TracChangeset for help on using the changeset viewer.