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

index 40e44de..7793b7a 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 "+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):

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