withdraw: fix withdraw with no amount nor payment id

This commit is contained in:
moneromooo 2015-02-28 18:31:20 +00:00
parent 699cec1b7e
commit 5d1bbfc6a0

View file

@ -146,7 +146,7 @@ def Withdraw(link,cmd):
amount = GetParam(cmd,2) amount = GetParam(cmd,2)
paymentid = GetParam(cmd,3) paymentid = GetParam(cmd,3)
else: else:
if IsValidPaymentID(GetParam(cmd,2)): if GetParam(cmd,2) and IsValidPaymentID(GetParam(cmd,2)):
amount = None amount = None
paymentid = GetParam(cmd,2) paymentid = GetParam(cmd,2)
else: else: