From: Bernard Blackham Date: Sun, 27 Jun 2004 11:11:00 +0000 (+0000) Subject: Silence bug in ROM fixed. X-Git-Tag: IMPORT-FROM-UCCCVS~142 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=cf531fcd681deee0639bc9d84d594058ce8144bf;p=uccvend-vendserver.git Silence bug in ROM fixed. --- diff --git a/sql-edition/servers/VendingMachine.py b/sql-edition/servers/VendingMachine.py index dcafac4..e242df8 100644 --- a/sql-edition/servers/VendingMachine.py +++ b/sql-edition/servers/VendingMachine.py @@ -131,8 +131,7 @@ class VendingMachine: msg += '%02x'%duration self.wfh.write(msg+'\n') (code, string) = self.get_response() - # FIXME: workaround a bug in rom W. should be just: return (code == '500', code, string) - return (code == '500' or code == '501', code, string) + return (code == '501', code, string) def display(self, string): if len(string) > 10: