From: Bernard Blackham Date: Sun, 27 Jun 2004 12:02:53 +0000 (+0000) Subject: oops X-Git-Url: https://git.ucc.asn.au/?p=zanchey%2Fdispense2.git;a=commitdiff_plain;h=66f8d449da7008fda4226958d64cb3bbe2d92709 oops --- diff --git a/virtualvend/vvend.py b/virtualvend/vvend.py index f4d04cb..40e44de 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 ",i,"\n") self.do_send("153 Home sensors failing\n") self.do_send("102 Vend all motors complete\n") @@ -264,6 +264,7 @@ Mark Tearle, June 2004 def do_beep(self,command): sys.stdout.write("\a") + self.do_send('500 Beeped\n') def do_silence(self,command): pass