return from AddBalance on error

This commit is contained in:
moneromooo 2015-01-20 19:28:46 +00:00
parent b06520e1ea
commit 689469f298

View file

@ -136,6 +136,7 @@ def AddBalance(link,cmd):
except Exception, e:
log_error('AddBalance: exception: %s' % str(e))
link.send( "An error has occured")
return
link.send("%s's balance is now %s" % (aidentity,AmountToString(balance)))
def ScanWho(link,cmd):