From: Bernard Blackham Date: Sun, 27 Jun 2004 12:02:53 +0000 (+0000) Subject: oops X-Git-Tag: IMPORT-FROM-UCCCVS~138 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b6c977767ce505def88a3cf4cb5413c3b6c634bc;p=uccvend-vendserver.git 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