1. Todd Matthews
  2. hothouse

Commits

MattoTodd  committed 464c46d

writable

  • Participants
  • Parent commits 33360f7
  • Branches default

Comments (0)

Files changed (1)

File domain/devices.py

View file
         return float(self.getData()[0])
 
     def sendData(self, serial_data):
-        is_writable = self.serial.writable
+        is_writable = self.serial.writable()
         logging.debug("is writable: %s" % (is_writable,))
         self.serial.write(str(serial_data))