From: Bernard Blackham Date: Sun, 27 Jun 2004 12:04:14 +0000 (+0000) Subject: Still oops X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=6577b9d74c2e7d10f7e741b1568665e9d4a29e2e;p=zanchey%2Fdispense2.git Still oops --- diff --git a/virtualvend/vvend.py b/virtualvend/vvend.py index 40e44de..7793b7a 100644 --- a/virtualvend/vvend.py +++ b/virtualvend/vvend.py @@ -245,7 +245,7 @@ Mark Tearle, June 2004 def do_vend_all(self): for i in range(11,99): - self.do_send("101 Vending ",i,"\n") + self.do_send("101 Vending "+str(i)+"\n") self.do_send("153 Home sensors failing\n") self.do_send("102 Vend all motors complete\n") @@ -254,7 +254,7 @@ Mark Tearle, June 2004 if fail: self.do_send("153 Home sensors failing\n") else: - self.insert("Vending ",command) + self.insert("Vending "+command) self.do_send("100 Vend successful\n") def do_display(self,string):