diff --git a/VendServer/VendingMachine.py b/VendServer/VendingMachine.py index e5a0251f0210b1f66f28e4b26b144dff2f68fc10..4f4b674df4440919adbd64041b1e8015831a5f0d 100644 --- a/VendServer/VendingMachine.py +++ b/VendServer/VendingMachine.py @@ -162,7 +162,6 @@ class VendingMachine: def display(self, string): if len(string) > 10: string = string[0:10] - string = re.sub('(.)\.', lambda match: '.'+match.group(1), string) self.wfh.write('D'+string+'\n') (code, string) = self.get_response() return (code == '300', code, string)