From 689469f29870e3ef1e91a6a26d01b7a4dd11e24b Mon Sep 17 00:00:00 2001 From: moneromooo Date: Tue, 20 Jan 2015 19:28:46 +0000 Subject: [PATCH] return from AddBalance on error --- tipbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tipbot.py b/tipbot.py index 49d13a6..1da0c41 100644 --- a/tipbot.py +++ b/tipbot.py @@ -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):