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