mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
betutils: move "does not have enough balance" from error to warning
This commit is contained in:
parent
cf122d032b
commit
9ab5db39e4
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ def IsPlayerBalanceAtLeast(link,units):
|
||||||
balance = 0
|
balance = 0
|
||||||
balance=long(balance)
|
balance=long(balance)
|
||||||
if units > 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))
|
return False, "You only have %s" % (AmountToString(balance))
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
log_error ('failed to query balance')
|
log_error ('failed to query balance')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue