client-barcode: Repair deposit, bug reported by Florian
This commit is contained in:
parent
f48d01ff1a
commit
584cd364e5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue