oops
authorBernard Blackham <[email protected]>
Sun, 27 Jun 2004 12:02:53 +0000 (12:02 +0000)
committerBernard Blackham <[email protected]>
Sun, 27 Jun 2004 12:02:53 +0000 (12:02 +0000)
virtualvend/vvend.py

index f4d04cb..40e44de 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au