1. gleb_zhulik
  2. py3sensors

Commits

gleb_zhulik  committed 0cf96f4

Readmi fix

  • Participants
  • Parent commits 1470f30
  • Branches default

Comments (0)

Files changed (1)

File README.rst

View file
  • Ignore whitespace
   sensors.init()
   try:
       for chip in sensors.iter_detected_chips():
-          print '%s at %s' % (chip, chip.adapter_name)
+          print ('%s at %s' % (chip, chip.adapter_name))
           for feature in chip:
-              print '  %s: %.2f' % (feature.label, feature.get_value())
+              print ('  %s: %.2f' % (feature.label, feature.get_value()))
   finally:
       sensors.cleanup()