Open GoogleCodeExporter opened 8 years ago
def readUpdate(self):
if self.connection != None:
try:
self.lock.acquire()
line = self.connection.readline()
line = line.rstrip('\r\n')
f=open("data.xml",'w')
f.write(line)
f.close()
return line
except serial.SerialException, err:
self.disconnect()
raise err
except Exception, msg:
self.disconnect()
raise msg
finally:
self.lock.release()
Original comment by matt.jo...@gmail.com
on 16 Jul 2009 at 4:25
I would also be interested in both a overwritten file and http access.
Original comment by pvanleen...@gmail.com
on 12 Mar 2010 at 2:42
Original issue reported on code.google.com by
matt.jo...@gmail.com
on 16 Jul 2009 at 4:01