Improve 'balance' output.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18865 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
a33156dfca
commit
584da84ab8
|
|
@ -283,7 +283,7 @@ def cmd_balance(argv):
|
|||
|
||||
if balance != 0:
|
||||
balance /= exchange_rate * 1.0;
|
||||
message = "You have %2f %s in the bank." % (balance, coinName)
|
||||
message = "You have %s %s in the bank." % (str(balance), coinName)
|
||||
else:
|
||||
message = "Sorry, you have no balance."
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue