From 584cd364e5ac28c877cbb1a80a7223f3f8586f8d Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 13 Oct 2011 19:08:00 +0200 Subject: [PATCH] client-barcode: Repair deposit, bug reported by Florian --- client-barcode/freitagslib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-barcode/freitagslib/commands.py b/client-barcode/freitagslib/commands.py index 333ead8..f986c40 100644 --- a/client-barcode/freitagslib/commands.py +++ b/client-barcode/freitagslib/commands.py @@ -13,7 +13,7 @@ class DepositCommand(object): self._difference = amount def difference(self): - self._difference + return self._difference def run(self, user_name): net.deposit(self._difference, net.DEPOSIT_CASH, user_name)