From f581ca4aaf52ec51084e27672717c2bd08e85dbb Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Sun, 27 Jun 2004 11:11:00 +0000 Subject: [PATCH] Silence bug in ROM fixed. --- sql-edition/servers/VendingMachine.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.20.1