Silence bug in ROM fixed.
authorBernard Blackham <[email protected]>
Sun, 27 Jun 2004 11:11:00 +0000 (11:11 +0000)
committerBernard Blackham <[email protected]>
Sun, 27 Jun 2004 11:11:00 +0000 (11:11 +0000)
sql-edition/servers/VendingMachine.py

index dcafac4..e242df8 100644 (file)
@@ -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:

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