mirror of
https://github.com/wownero/tippero.git
synced 2026-11-10 10:23:54 +01:00
betutils: move "does not have enough balance" from error to warning
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user