diff py/gpio_test.py @ 530:73257bae83ea

fix a few python3 issues
author Matt Johnston <matt@ucc.asn.au>
date Sat, 11 Apr 2015 00:16:05 +0800
parents dd8895652485
children
line wrap: on
line diff
--- a/py/gpio_test.py	Fri Apr 10 23:59:16 2015 +0800
+++ b/py/gpio_test.py	Sat Apr 11 00:16:05 2015 +0800
@@ -14,7 +14,7 @@
 	def turn(self, value):
 		self.state = bool(value)
 		onoff = ("off", "on")[int(self.state)]
-		L("Test GPIO %s pin %d turned %s" % (self.name, self.pin, onoff))
+		L("Test GPIO %s pin %s turned %s" % (self.name, self.pin, onoff))
 
 	def get_state(self):
 		return self.state