client-barcode: Repair deposit, bug reported by Florian

This commit is contained in:
Sebastian Pipping 2011-10-13 19:08:00 +02:00
parent f48d01ff1a
commit 584cd364e5
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class DepositCommand(object):
self._difference = amount self._difference = amount
def difference(self): def difference(self):
self._difference return self._difference
def run(self, user_name): def run(self, user_name):
net.deposit(self._difference, net.DEPOSIT_CASH, user_name) net.deposit(self._difference, net.DEPOSIT_CASH, user_name)