betutils: move "does not have enough balance" from error to warning

This commit is contained in:
moneromooo 2015-01-22 18:29:05 +00:00
parent cf122d032b
commit 9ab5db39e4
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ def IsPlayerBalanceAtLeast(link,units):
balance = 0
balance=long(balance)
if units > balance:
log_error ('%s does not have enough balance' % link.user.nick)
log_info ('%s does not have enough balance' % link.user.nick)
return False, "You only have %s" % (AmountToString(balance))
except Exception,e:
log_error ('failed to query balance')